This copies cli.printHelp but changes minwidth to 38. Custom flag code is improved to print the default value using cli.FlagStringer like all built-in flags do. |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| customflags_test.go | ||
| customflags.go | ||
| flags_test.go | ||
| flags.go | ||
This copies cli.printHelp but changes minwidth to 38. Custom flag code is improved to print the default value using cli.FlagStringer like all built-in flags do. |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| customflags_test.go | ||
| customflags.go | ||
| flags_test.go | ||
| flags.go | ||