From 3ed3449e049596eff2586ceda18143a2640af9b6 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 19 Jan 2018 22:01:00 +0800 Subject: main - Some more --help --- src/main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 6f479a3a..af82d549 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1006,13 +1006,17 @@ void ProgramParams::show_help() const "-O : Enable optimistion\n" "-g : Emit debugging information\n" "--out-dir : Specify the output directory (alternative to `-o`)\n" - "--extern =" + "--extern =\n" " : Specify the path for a given crate (instead of searching for it)\n" "--crate-tag : Specify a suffix for symbols and output files\n" "--crate-name : Override/set the crate name\n" "--crate-type : Override/set the crate type (rlib, bin, proc-macro)\n" + "--cfg flag : Set a boolean #[cfg]/cfg! flag\n" + "--cfg flag=\"val\" : Set a string #[cfg]/cfg! flag\n" + "--target : Compile code for the given target\n" "--test : Generate a unit test executable\n" - // TODO: More + "-C