From 7e4b2af36191c868b38347b5a2e0e262fe59cf37 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 21 Nov 2021 19:34:40 -1000 Subject: [PATCH] imp: ui: -w short flag for --watch --- hledger-ui/Hledger/UI/UIOptions.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-ui/Hledger/UI/UIOptions.hs b/hledger-ui/Hledger/UI/UIOptions.hs index 4b4efa700..daf401770 100644 --- a/hledger-ui/Hledger/UI/UIOptions.hs +++ b/hledger-ui/Hledger/UI/UIOptions.hs @@ -33,7 +33,7 @@ prognameandversion = versionStringForProgname progname uiflags = [ -- flagNone ["debug-ui"] (setboolopt "rules-file") "run with no terminal output, showing console" - flagNone ["watch"] (setboolopt "watch") "watch for data and date changes and reload automatically" + flagNone ["watch","w"] (setboolopt "watch") "watch for data and date changes and reload automatically" ,flagReq ["theme"] (\s opts -> Right $ setopt "theme" s opts) "THEME" ("use this custom display theme ("++intercalate ", " themeNames++")") ,flagReq ["register"] (\s opts -> Right $ setopt "register" s opts) "ACCTREGEX" "start in the (first) matched account's register" ,flagNone ["change"] (setboolopt "change")