Skip to content

Commit

Permalink
remove ValidArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
wanyxkhalil committed Nov 3, 2021
1 parent 8f0cdff commit 9d07b3a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import (

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "toolbox",
Short: "Khalil toolbox",
Long: `Khalil toolbox: mkpasswd`,
ValidArgs: []string{"mkpasswd", "https-expired"},
Use: "toolbox",
Short: "Khalil toolbox",
Long: `Khalil toolbox: mkpasswd`,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down

0 comments on commit 9d07b3a

Please sign in to comment.