aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ficsmain.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-12-04 03:12:20 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-12-04 03:12:20 +0100
commit6175022541a0759ccd87b406876a890c34d2d43c (patch)
treef3c847a68d5f1034be4f9180a7ea07b4822800f6 /FICS/ficsmain.c
parent64efbb240da421da95fd305af66f6e9b4df25be9 (diff)
Documented option '-v'
Diffstat (limited to 'FICS/ficsmain.c')
-rw-r--r--FICS/ficsmain.c3
1 files changed, 2 insertions, 1 deletions
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);
}