diff options
| -rw-r--r-- | cmd/root.go | 4 | ||||
| -rw-r--r-- | cmd/serve.go | 2 | ||||
| -rw-r--r-- | main.go | 2 |
3 files changed, 5 insertions, 3 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 } diff --git a/cmd/serve.go b/cmd/serve.go index 89f6680..15684b8 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -1,5 +1,5 @@ /* guestbook - Standalone guestbook server for static websites - * Copyright (C) 2025 Vidhu Kant Sharma <vidhukant@vidhukant.com> + * Copyright (C) 2025-2026 Vidhu Kant Sharma <vidhukant@vidhukant.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1,5 +1,5 @@ /* guestbook - Standalone guestbook server for static websites - * Copyright (C) 2025 Vidhu Kant Sharma <vidhukant@vidhukant.com> + * Copyright (C) 2025-2026 Vidhu Kant Sharma <vidhukant@vidhukant.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by |