From c9b29354af7819c294862b8942c28169a89778a8 Mon Sep 17 00:00:00 2001 From: Blaster4385 Date: Mon, 13 Jan 2025 13:45:32 +0530 Subject: fix: added missing shorthand flags --- main.go | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v1.2.3-73-gaa49b