aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-25 17:54:47 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-25 17:54:47 +0200
commit06ec8836dc5d07c2d255692aead9f72427be0b93 (patch)
tree73bf80e26189eaabf28907ac77980ab33e7f3024
parent2e3441432bc6fa4dcf61460893e0dd293e17bfd8 (diff)
Deleted options
-rw-r--r--FICS/fics_addplayer.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c
index 424bbf8..d415cc3 100644
--- a/FICS/fics_addplayer.c
+++ b/FICS/fics_addplayer.c
@@ -50,12 +50,10 @@ PRIVATE char *funame = NULL;
PRIVATE char *fname = NULL;
PRIVATE char *email = NULL;
-PRIVATE int local = 1;
-
PRIVATE __dead void
usage(char *progname)
{
- fprintf(stderr, "Usage: %s [-l] [-n] UserName FullName EmailAddress\n",
+ fprintf(stderr, "Usage: %s <UserName> <FullName> <EmailAddress>\n",
progname);
exit(1);
}
@@ -72,12 +70,6 @@ main(int argc, char *argv[])
for (i = 1; i < argc; i++) {
if (argv[i][0] == '-') {
switch (argv[i][1]) {
- case 'l':
- local = 1;
- break;
- case 'n':
- local = 0;
- break;
default:
usage(argv[0]);
break;