diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-12-04 03:05:42 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-12-04 03:05:42 +0100 |
commit | e18d87d352c65377e1bb142f12f7c713d2e9dc78 (patch) | |
tree | 1feca56d40967311715d611c9b86884e702e70ff | |
parent | a08ef9a1bc3f5ef4d9bc766312db289b98dda444 (diff) |
Added command-line option 'v'
-rw-r--r-- | FICS/ficsmain.c | 3 |
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]); |