ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: show help when jj git remote is called without subcommand

This commit is contained in:
Martin von Zweigbergk 2021-10-23 20:46:41 -07:00
parent 0f46c2453e
commit 50058d8a31

View file

@ -1074,6 +1074,7 @@ https://github.com/martinvonz/jj/blob/main/docs/git-comparison.md.\
.subcommand(
SubCommand::with_name("remote")
.about("Manage Git remotes")
.setting(clap::AppSettings::SubcommandRequiredElseHelp)
.subcommand(
SubCommand::with_name("add")
.about("Add a Git remote")