Skip to content

Commit

Permalink
Fixes version command help text (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranjandas authored Jun 26, 2024
1 parent e071235 commit c29c04d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ var Version string
// versionCmd represents the version command
var versionCmd = &cobra.Command{
Use: "version",
Short: "A brief description of your command",
Long: `A longer description that spans multiple lines and likely contains examples
and usage of using your command. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Short: "Prints the version of Shikari",
Long: `Prints the version of Shikari`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(Version)
},
Expand Down

0 comments on commit c29c04d

Please sign in to comment.