File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -52,21 +52,23 @@ pub fn get_app() -> App<'static, 'static> {
5252 Arg :: with_name ( "endpoint" )
5353 . long ( "endpoint" )
5454 . takes_value ( true )
55- . help ( "Sets a custom endpoint to POST to, useful if you want a private instance and know the api matches one gitpub supports." ) ,
55+ . help ( "Sets a custom endpoint to POST to, useful if you want a private instance and know the api matches one gitpub supports." )
56+ . conflicts_with ( "set_remote" ) ,
5657 )
5758 . arg (
5859 Arg :: with_name ( "set_remote" )
5960 . long ( "set_remote" )
60- . help ( "Sets the remote of the local dir after successful creation." )
61+ . help ( "Sets the remote of the local dir after successful creation." ) ,
6162 ) . arg (
6263 Arg :: with_name ( "remote_name" )
6364 . long ( "remote_name" )
6465 . help ( "Designates a custom name for setting remote. Defaults to origin." )
6566 . default_value ( "origin" )
66- . hide_default_value ( true )
67+ . hide_default_value ( true ) ,
6768 ) . arg (
6869 Arg :: with_name ( "ssh_remote_format" )
6970 . long ( "ssh_remote_format" )
7071 . help ( "Attempts to convert the git remote url into ssh format. If it fails (the provider doesn't support ssh format), the remote isn't set." )
72+ . conflicts_with ( "endpoint" ) ,
7173 )
7274}
You can’t perform that action at this time.
0 commit comments