From 8eaa1959904ecff0e7e75d152220344457912f76 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 23 Nov 2020 19:19:19 +0100 Subject: foot/footclient: add short options to all command line options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(). --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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; -- cgit v1.3