We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82b2c7e commit 2c0ba25Copy full SHA for 2c0ba25
cmd/src/cmd.go
@@ -45,6 +45,9 @@ type commander []*command
45
// Run the command
46
func (c commander) run(flagSet *flag.FlagSet, cmdName, usageText string, args []string) {
47
48
+ // NOTE: This function is quite brittle
49
+ // Especially with printing helper text at all 3 different levels of depth
50
+
51
// Check if --help args are anywhere in the command
52
// If yes, then remove it from the list of args at this point,
53
// then append it to the deepest command / subcommand, later,
0 commit comments