Skip to content

Commit

Permalink
exo: FIX cobra error issue spf13/cobra#340 temporarily
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
  • Loading branch information
pierre-emmanuelJ committed Jul 4, 2018
1 parent 43408d6 commit bb81fa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/exo/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ type config struct {

// RootCmd represents the base command when called without any subcommands
var RootCmd = &cobra.Command{
Use: "exo",
Short: "A simple CLI to use CloudStack using egoscale lib",
Use: "exo",
Short: "A simple CLI to use CloudStack using egoscale lib",
SilenceUsage: true,
//Long: `A simple CLI to use CloudStack using egoscale lib`,
}

// Execute adds all child commands to the root command and sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the RootCmd.
func Execute() {
if err := RootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}
Expand Down

0 comments on commit bb81fa5

Please sign in to comment.