aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaster4385 <venkatesh@tablaster.dev>2025-01-13 13:45:32 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2025-01-13 13:45:32 +0530
commitc9b29354af7819c294862b8942c28169a89778a8 (patch)
tree8c0b54a84fb95baeca13fee7651d207ab37f60a1
parent2425e3dc2af22c3281122715d60bd4506d48938a (diff)
fix: added missing shorthand flags
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 6f52201..d73e056 100644
--- a/main.go
+++ b/main.go
@@ -49,8 +49,11 @@ For more information, visit: https://github.com/blaster4385/deepcool-display-lin
func main() {
flag.BoolVar(&daemonFlag, "daemon", false, "Run as daemon")
+ flag.BoolVar(&daemonFlag, "d", false, "Run as daemon")
flag.StringVar(&filename, "file", "", "CSV file")
+ flag.StringVar(&filename, "f", "", "CSV file")
flag.BoolVar(&helpFlag, "help", false, "Show help message")
+ flag.BoolVar(&helpFlag, "h", false, "Show help message")
flag.BoolVar(&versionFlag, "version", false, "Show app version")
flag.BoolVar(&versionFlag, "v", false, "Show app version")
flag.Parse()