File tree Expand file tree Collapse file tree 3 files changed +1
-2
lines changed Expand file tree Collapse file tree 3 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ pub fn cli() -> App {
6
6
subcommand ( "init" )
7
7
. about ( "Create a new cargo package in an existing directory" )
8
8
. arg ( Arg :: with_name ( "path" ) . default_value ( "." ) )
9
- . arg ( opt ( "registry" , "Registry to use" ) . value_name ( "REGISTRY" ) )
10
9
. arg_new_opts ( )
11
10
}
12
11
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ pub fn cli() -> App {
6
6
subcommand ( "new" )
7
7
. about ( "Create a new cargo package at <path>" )
8
8
. arg ( Arg :: with_name ( "path" ) . required ( true ) )
9
- . arg ( opt ( "registry" , "Registry to use" ) . value_name ( "REGISTRY" ) )
10
9
. arg_new_opts ( )
11
10
}
12
11
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ pub trait AppExt: Sized {
171
171
)
172
172
. value_name ( "NAME" ) ,
173
173
)
174
+ . _arg ( opt ( "registry" , "Registry to use" ) . value_name ( "REGISTRY" ) )
174
175
}
175
176
176
177
fn arg_index ( self ) -> Self {
You can’t perform that action at this time.
0 commit comments