diff options
Diffstat (limited to 'cmd/root.go')
| -rw-r--r-- | cmd/root.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/root.go b/cmd/root.go index 8ecd915..936f886 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -27,9 +27,12 @@ import ( var rootCmd = &cobra.Command{ Use: "guestbook", - Version: "v1.7.1", + Version: "v1.7.2", Short: "Standalone guestbook server for static websites", - Long: "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" + + "This program comes with ABSOLUTELY NO WARRANTY; This is free software,\n" + + "and you are welcome to redistribute it under certain conditions", } var defaultGuestbook string = "my_guestbook" @@ -44,6 +47,7 @@ func Execute() { func init() { viper.SetConfigName("guestbook") viper.AddConfigPath("/etc") + viper.AddConfigPath(".") if err := viper.ReadInConfig(); err != nil { log.Fatal(err) |