diff options
author | Blaster4385 <venkatesh@tablaster.dev> | 2025-01-13 13:45:32 +0530 |
---|---|---|
committer | Blaster4385 <venkatesh@tablaster.dev> | 2025-01-13 13:45:32 +0530 |
commit | c9b29354af7819c294862b8942c28169a89778a8 (patch) | |
tree | 8c0b54a84fb95baeca13fee7651d207ab37f60a1 | |
parent | 2425e3dc2af22c3281122715d60bd4506d48938a (diff) |
fix: added missing shorthand flags
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() |