aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2026-07-20 16:44:17 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2026-07-20 16:44:17 +0530
commit3cd7c3c025ef830b120057a872b16ecc975c2b62 (patch)
treef496973bc1555acdda282b6919da28d89666b5c4
parentd5f0d97b16d91cb9aa6a15c7d524f32cc51ee280 (diff)
removed default completion commandv1.7.3
-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