Skip to content

Commit

Permalink
Show help when calling with no arguments (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngharo committed Aug 29, 2022
1 parent 06737bc commit e0cb46d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ var rootCmd = &cobra.Command{
love by tiny-dancer and friends. Open sourced for the community by Optum.
Complete documentation is available at https://runiac.io`,
Run: func(cmd *cobra.Command, args []string) {
// Do Stuff Here
cmd.Help()
os.Exit(0)
},
}

Expand Down

0 comments on commit e0cb46d

Please sign in to comment.