aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/root.go4
-rw-r--r--cmd/serve.go2
-rw-r--r--main.go2
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
diff --git a/main.go b/main.go
index a65d537..ef9cbd7 100644
--- a/main.go
+++ b/main.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