foot/footclient: add short options to all command line options

e813883367 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().
This commit is contained in:
Daniel Eklöf 2020-11-23 19:19:19 +01:00
parent 9ab1235b97
commit 8eaa195990
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 24 additions and 22 deletions

2
main.c
View file

@ -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;