From efa17453a9f66d801f9de33bcc74236dc2d77be1 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Thu, 18 Feb 2021 13:26:16 -0800 Subject: Update docs (#100) * add CTCP ACTION information to man page * add documentation for parameter to commands which support it * fix incorrect flag character for real name option * add verbosity option (-V) to man page * separate flag options in usage information Usually the format '[option1|option2]' means EITHER 'option1' OR 'option2' may be specified, but not both. Since the options '-v', '-V', and '-e' can all be given (and are all optional), the proper format is '[-v] [-V] [-e]'. --- kirc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kirc.c') diff --git a/kirc.c b/kirc.c index ff17f95..8b988ac 100644 --- a/kirc.c +++ b/kirc.c @@ -674,7 +674,7 @@ static void handleUserInput(struct State * l) { static void usage(void) { fputs("kirc [-s host] [-p port] [-c channel] [-n nick] [-r realname] \ -[-u username] [-k password] [-a token] [-x command] [-o path] [-e|v|V]\n", stderr); +[-u username] [-k password] [-a token] [-x command] [-o path] [-e] [-v] [-V]\n", stderr); exit(2); } -- cgit v1.2.3