File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
tests/testsuite/cargo_update/help Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,14 @@ pub fn cli() -> Command {
2525 . arg (
2626 flag (
2727 "aggressive" ,
28- "Force updating all dependencies of SPEC as well when used with -p " ,
28+ "Force updating all dependencies of [ SPEC]... as well" ,
2929 )
3030 . conflicts_with ( "precise" ) ,
3131 )
3232 . arg (
33- opt (
34- "precise" ,
35- "Update a single dependency to exactly PRECISE when used with -p" ,
36- )
37- . value_name ( "PRECISE" )
38- . requires ( "package-group" ) ,
33+ opt ( "precise" , "Update [SPEC] to exactly PRECISE" )
34+ . value_name ( "PRECISE" )
35+ . requires ( "package-group" ) ,
3936 )
4037 . arg_quiet ( )
4138 . arg (
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ Usage: cargo[EXE] update [OPTIONS] [SPEC]...
44
55Options:
66 --dry-run Don't actually write the lockfile
7- --aggressive Force updating all dependencies of SPEC as well when used with -p
8- --precise <PRECISE> Update a single dependency to exactly PRECISE when used with -p
7+ --aggressive Force updating all dependencies of [ SPEC]... as well
8+ --precise <PRECISE> Update [SPEC] to exactly PRECISE
99 -q, --quiet Do not print cargo log messages
1010 -v, --verbose... Use verbose output (-vv very verbose/build.rs output)
1111 --color <WHEN> Coloring: auto, always, never
You can’t perform that action at this time.
0 commit comments