summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2018-01-19 22:01:00 +0800
committerJohn Hodge <tpg@ucc.asn.au>2018-01-19 22:01:00 +0800
commit3ed3449e049596eff2586ceda18143a2640af9b6 (patch)
treed7797d2640b12d3bb733e835ecaf18fbbe6a7d32
parent17b582e6c5ffc40185d33fa1a8114a6f94cd86cd (diff)
downloadmrust-3ed3449e049596eff2586ceda18143a2640af9b6.tar.gz
main - Some more --help
-rw-r--r--src/main.cpp8
1 files changed, 6 insertions, 2 deletions
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 <dir> : Specify the output directory (alternative to `-o`)\n"
- "--extern <crate>=<path>"
+ "--extern <crate>=<path>\n"
" : Specify the path for a given crate (instead of searching for it)\n"
"--crate-tag <str> : Specify a suffix for symbols and output files\n"
"--crate-name <str> : Override/set the crate name\n"
"--crate-type <ty> : 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 <name> : Compile code for the given target\n"
"--test : Generate a unit test executable\n"
- // TODO: More
+ "-C <option> : Code-generation options\n"
+ "-Z <option> : Debugging/experiemental options\n"
;
}