Skip to content

Commit 6aa2a82

Browse files
committed
---
yaml --- r: 210110 b: refs/heads/try c: 2007169 h: refs/heads/master v: v3
1 parent fbc9035 commit 6aa2a82

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: bd4b984537bd33c9625212c9ccbb3a6084001407
5+
refs/heads/try: 2007169583f4b1e98d4d69ed05a63fa4919753bf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc/session/config.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,11 +755,14 @@ mod opt {
755755
pub fn multi(a: S, b: S, c: S, d: S) -> R { stable(getopts::optmulti(a, b, c, d)) }
756756
pub fn flag(a: S, b: S, c: S) -> R { stable(getopts::optflag(a, b, c)) }
757757
pub fn flagopt(a: S, b: S, c: S, d: S) -> R { stable(getopts::optflagopt(a, b, c, d)) }
758+
pub fn flagmulti(a: S, b: S, c: S) -> R { stable(getopts::optflagmulti(a, b, c)) }
759+
758760

759761
pub fn opt_u(a: S, b: S, c: S, d: S) -> R { unstable(getopts::optopt(a, b, c, d)) }
760762
pub fn multi_u(a: S, b: S, c: S, d: S) -> R { unstable(getopts::optmulti(a, b, c, d)) }
761763
pub fn flag_u(a: S, b: S, c: S) -> R { unstable(getopts::optflag(a, b, c)) }
762764
pub fn flagopt_u(a: S, b: S, c: S, d: S) -> R { unstable(getopts::optflagopt(a, b, c, d)) }
765+
pub fn flagmulti_u(a: S, b: S, c: S) -> R { unstable(getopts::optflagmulti(a, b, c)) }
763766
}
764767

765768
/// Returns the "short" subset of the rustc command line options,
@@ -786,8 +789,8 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
786789
opt::multi("", "print", "Comma separated list of compiler information to \
787790
print on stdout",
788791
"[crate-name|file-names|sysroot]"),
789-
opt::flag("g", "", "Equivalent to -C debuginfo=2"),
790-
opt::flag("O", "", "Equivalent to -C opt-level=2"),
792+
opt::flagmulti("g", "", "Equivalent to -C debuginfo=2"),
793+
opt::flagmulti("O", "", "Equivalent to -C opt-level=2"),
791794
opt::opt("o", "", "Write output to <filename>", "FILENAME"),
792795
opt::opt("", "out-dir", "Write output to compiler-chosen filename \
793796
in <dir>", "DIR"),

0 commit comments

Comments
 (0)