aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-23 18:19:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-23 18:19:19 +0000
commit8eaa1959904ecff0e7e75d152220344457912f76 (patch)
tree9db22b78c157f9c86ab8649bf0fc5f35069747d5 /main.c
parentchangelog: add issue ref to footclient -w/-W (diff)
foot/footclient: add short options to all command line options
e81388336750a20a2da98a57e9726c8ba1b481e3 added “missing” short command line options to footclient. Except they weren’t missing; they were intentionally missing short options and only supported long options. This commit makes the new/missing short options “official”, by adding documentation, zsh completions and including them in usage().
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index b1a81b88..af84691d 100644
--- a/main.c
+++ b/main.c
@@ -191,7 +191,7 @@ main(int argc, char *const *argv)
user_notifications_t user_notifications = tll_init();
while (true) {
- int c = getopt_long(argc, argv, "+c:Ct:a:Lf:g:w:W:s::Pp:l::Svh", longopts, NULL);
+ int c = getopt_long(argc, argv, "+c:Ct:T:a:Lf:g:w:W:s::HmFPp:l::Svh", longopts, NULL);
if (c == -1)
break;