Skip to content

Commit 59c2f4d

Browse files
kgiusticlaude
authored andcommitted
fix: disable non-functional help subcommand
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Kenneth Giusti <kgiusti@redhat.com>
1 parent edf29c2 commit 59c2f4d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func Execute() error {
8181
}
8282

8383
func rootCmdInit() {
84+
rootCmd.SetHelpCommand(&cobra.Command{Hidden: true})
8485
pflags := rootCmd.PersistentFlags()
8586
pflags.StringVar(&configFile, "config", "", "Path to configuration file (YAML or TOML)")
8687
pflags.String("blob", "", "File path of device credential blob")

0 commit comments

Comments
 (0)