Skip to content

Commit 111178d

Browse files
committed
rustc: Slightly reword the --no-analysis description for clarity
1 parent 45e4fad commit 111178d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/librustc/driver/driver.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,8 @@ pub fn optgroups() -> Vec<getopts::OptGroup> {
11031103
1 = line-tables only (for stacktraces and breakpoints),
11041104
2 = full debug info with variable and type information (same as -g)", "LEVEL"),
11051105
optflag("", "no-trans", "Run all passes except translation; no output"),
1106-
optflag("", "no-analysis", "Parse and expand the output, but run no analysis or produce output"),
1106+
optflag("", "no-analysis",
1107+
"Parse and expand the source, but run no analysis and produce no output"),
11071108
optflag("O", "", "Equivalent to --opt-level=2"),
11081109
optopt("o", "", "Write output to <filename>", "FILENAME"),
11091110
optopt("", "opt-level", "Optimize with possible levels 0-3", "LEVEL"),
@@ -1116,7 +1117,9 @@ pub fn optgroups() -> Vec<getopts::OptGroup> {
11161117
typed (crates expanded, with type annotations),
11171118
or identified (fully parenthesized,
11181119
AST nodes and blocks with IDs)", "TYPE"),
1119-
optflagopt("", "dep-info", "Output dependency info to <filename> after compiling", "FILENAME"),
1120+
optflagopt("", "dep-info",
1121+
"Output dependency info to <filename> after compiling, \
1122+
in a format suitable for use by Makefiles", "FILENAME"),
11201123
optopt("", "sysroot", "Override the system root", "PATH"),
11211124
optflag("", "test", "Build a test harness"),
11221125
optopt("", "target", "Target triple cpu-manufacturer-kernel[-os]

0 commit comments

Comments
 (0)