From 06ec8836dc5d07c2d255692aead9f72427be0b93 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 25 May 2024 17:54:47 +0200 Subject: Deleted options --- FICS/fics_addplayer.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'FICS/fics_addplayer.c') 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 \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; -- cgit v1.2.3