aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ficsmain.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-12-04 03:05:42 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-12-04 03:05:42 +0100
commite18d87d352c65377e1bb142f12f7c713d2e9dc78 (patch)
tree1feca56d40967311715d611c9b86884e702e70ff /FICS/ficsmain.c
parenta08ef9a1bc3f5ef4d9bc766312db289b98dda444 (diff)
Added command-line option 'v'
Diffstat (limited to 'FICS/ficsmain.c')
-rw-r--r--FICS/ficsmain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c
index 13e98f9..05af5fd 100644
--- a/FICS/ficsmain.c
+++ b/FICS/ficsmain.c
@@ -146,6 +146,9 @@ GetArgs(int argc, char *argv[])
puts(legalNotice);
puts(legalNotice2);
exit(0);
+ case 'v':
+ printf("%s %s\n", VERS_NUM, COMP_DATE);
+ exit(0);
}
} else {
usage(argv[0]);