Skip to content

Commit 69fa067

Browse files
authored
Merge pull request #1843 from FabianKramm/master
refactor: remove devspace help command
2 parents 5d70278 + e29380a commit 69fa067

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/root.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ func BuildRoot(f factory.Factory, excludePlugins bool) *cobra.Command {
161161

162162
// build the root cmd
163163
rootCmd := NewRootCmd(f)
164+
rootCmd.SetHelpCommand(&cobra.Command{
165+
Use: "no-help",
166+
Hidden: true,
167+
})
164168
persistentFlags := rootCmd.PersistentFlags()
165169
globalFlags = flags.SetGlobalFlags(persistentFlags)
166170

0 commit comments

Comments
 (0)