Commit cf5c958 1 parent e0c9619 commit cf5c958 Copy full SHA for cf5c958
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ fn write_dynamic_context(
337
337
let were_provided = singular_or_plural ( * actual_num_values as usize ) ;
338
338
let _ = write ! (
339
339
styled,
340
- "{}{min_values}{} more values required by '{}{invalid_arg}{}'; only {}{actual_num_values}{}{were_provided}" ,
340
+ "{}{min_values}{} values required by '{}{invalid_arg}{}'; only {}{actual_num_values}{}{were_provided}" ,
341
341
valid. render( ) ,
342
342
valid. render_reset( ) ,
343
343
literal. render( ) ,
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ fn option_min_less() {
259
259
assert_eq ! ( err. kind( ) , ErrorKind :: TooFewValues ) ;
260
260
#[ cfg( feature = "error-context" ) ]
261
261
assert_data_eq ! ( err. to_string( ) , str ![ [ r#"
262
- error: 3 more values required by '-o <option> <option> <option>...'; only 2 were provided
262
+ error: 3 values required by '-o <option> <option> <option>...'; only 2 were provided
263
263
264
264
Usage: multiple_values [OPTIONS]
265
265
@@ -603,7 +603,7 @@ fn positional_min_less() {
603
603
assert_eq ! ( err. kind( ) , ErrorKind :: TooFewValues ) ;
604
604
#[ cfg( feature = "error-context" ) ]
605
605
assert_data_eq ! ( err. to_string( ) , str ![ [ r#"
606
- error: 3 more values required by '[pos] [pos] [pos]...'; only 2 were provided
606
+ error: 3 values required by '[pos] [pos] [pos]...'; only 2 were provided
607
607
608
608
Usage: myprog [pos] [pos] [pos]...
609
609
You can’t perform that action at this time.
0 commit comments