From e18d87d352c65377e1bb142f12f7c713d2e9dc78 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 4 Dec 2024 03:05:42 +0100 Subject: Added command-line option 'v' --- FICS/ficsmain.c | 3 +++ 1 file changed, 3 insertions(+) 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]); -- cgit v1.2.3