File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 34660f099ed50a0242b197430abf102dc0d7b322
8
+ refs/heads/try2: a52135f5a75b35d6962a30a5d200c786285c3089
9
9
refs/heads/incoming: 05543fd04dfb3f63b453a331e239ceb1a9a219f9
10
10
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -229,14 +229,17 @@ fn getopts(args: ~[str], opts: ~[opt]) -> result unsafe {
229
229
/* In a series of potential options (eg. -aheJ), if we see
230
230
one which takes an argument, we assume all subsequent
231
231
characters make up the argument. This allows options
232
- such as -L/usr/local/lib/foo to be interpreted correctly
232
+ such as -L/usr/local/lib/foo to be interpreted
233
+ correctly
233
234
*/
235
+
234
236
alt find_opt( opts, opt) {
235
237
some ( id) {
236
238
last_valid_opt_id = option:: some ( id) ;
237
239
}
238
240
none {
239
- let arg_follows = option:: is_some ( last_valid_opt_id) &&
241
+ let arg_follows =
242
+ option:: is_some ( last_valid_opt_id) &&
240
243
alt opts[ option:: get ( last_valid_opt_id) ] . hasarg {
241
244
yes | maybe { true }
242
245
no { false }
You can’t perform that action at this time.
0 commit comments