Add <command> to help when a sub-command is required.

This commit is contained in:
Alec Thomas
2018-06-08 15:04:26 +10:00
parent d30421d2b1
commit 73064a687f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ var CLI struct {
Debug bool `help:"Debug mode."`
Rm struct {
User string `help:"Run as user." short:"u"`
User string `help:"Run as user." short:"u" default:"default"`
Force bool `help:"Force removal." short:"f"`
Recursive bool `help:"Recursively remove files." short:"r"`