diff options
Diffstat (limited to 'cmd/root.go')
-rw-r--r-- | cmd/root.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/root.go b/cmd/root.go index 3f17253..116ed21 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -69,6 +69,8 @@ func needsTarget(proto string) func(cmd *cobra.Command, args []string) error { func init() { ctx = context.Background() + cobra.EnableCommandSorting = false + rootCmd.InitDefaultVersionFlag() rootCmd.InitDefaultHelpCmd() rootCmd.PersistentFlags().BoolVar(&debug, "debug", false, "Enable debug logging") |