aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-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()