From 6175022541a0759ccd87b406876a890c34d2d43c Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 4 Dec 2024 03:12:20 +0100 Subject: Documented option '-v' --- FICS/ficsmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c index a58bda9..4110635 100644 --- a/FICS/ficsmain.c +++ b/FICS/ficsmain.c @@ -188,7 +188,7 @@ main_event_loop(void) PRIVATE __dead void usage(char *progname) { - fprintf(stderr, "Usage: %s [-p port] [-C] [-dhl]\n", progname); + fprintf(stderr, "Usage: %s [-p port] [-C] [-dhlv]\n", progname); fprintf(stderr, "\t\t-p port\t\tSpecify port. (Default=%d)\n", DEFAULT_PORT); fprintf(stderr, "\t\t-C\t\tStart with console player connected " @@ -196,6 +196,7 @@ usage(char *progname) fprintf(stderr, "\t\t-d\t\tRun in the background.\n"); fprintf(stderr, "\t\t-h\t\tDisplay this information.\n"); fprintf(stderr, "\t\t-l\t\tDisplay the legal notice and exit.\n"); + fprintf(stderr, "\t\t-v\t\tDisplay version.\n"); exit(EXIT_FAILURE); } -- cgit v1.2.3