Factor out command help into functions.

This commit is contained in:
Alec Thomas
2019-01-24 17:11:54 +11:00
parent 2a90ca2ad3
commit 42ea64b1b4
2 changed files with 58 additions and 29 deletions
+2 -2
View File
@@ -174,7 +174,7 @@ A test app.
Flags:
--help Show context-sensitive help.
Command Tree:
Commands:
one subcommand one
- thing subcommand thing
- <arg> argument
@@ -207,7 +207,7 @@ subcommand one
Flags:
--help Show context-sensitive help.
Command Tree:
Commands:
thing subcommand thing
- <arg> argument