diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2026-07-20 16:44:17 +0530 |
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2026-07-20 16:44:17 +0530 |
| commit | 3cd7c3c025ef830b120057a872b16ecc975c2b62 (patch) | |
| tree | f496973bc1555acdda282b6919da28d89666b5c4 /cmd/root.go | |
| parent | d5f0d97b16d91cb9aa6a15c7d524f32cc51ee280 (diff) | |
removed default completion commandv1.7.3
Diffstat (limited to 'cmd/root.go')
| -rw-r--r-- | cmd/root.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/root.go b/cmd/root.go index 936f886..9a2a122 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -27,7 +27,7 @@ import ( var rootCmd = &cobra.Command{ Use: "guestbook", - Version: "v1.7.2", + Version: "v1.7.3", Short: "Standalone guestbook server for static websites", Long: "guestbook - Standalone guestbook server for static websites\n" + "Copyright (C) 2025-2026 Vidhu Kant Sharma <vidhukant@vidhukant.com>\n" + @@ -56,4 +56,6 @@ func init() { if viper.IsSet("default_guestbook") { defaultGuestbook = viper.GetString("default_guestbook") } + + rootCmd.CompletionOptions.DisableDefaultCmd = true } |