cobra
cobra copied to clipboard
Hidden Commands Should be Ignored When Calculating Use Indentation
The Command's AddCommand function incorrectly includes hidden commands in its calculation of the maximum lengths needed to display correctly formatted usage information. See the following: Command.go, line 1135
Any Command that has its Hidden field set to true should be ignored, otherwise the formatted usage is potentially wider than it needs to be.