version 1.6, 1997/01/15 23:42:16 |
version 1.7, 1997/06/20 08:41:53 |
|
|
|
|
(void) setlocale(LC_ALL, ""); |
(void) setlocale(LC_ALL, ""); |
|
|
while ((ch = getopt(argc, argv, "?-af:t:A:B:")) != -1) |
while ((ch = getopt(argc, argv, "-af:t:A:B:")) != -1) |
switch (ch) { |
switch (ch) { |
case '-': /* backward contemptible */ |
case '-': /* backward contemptible */ |
case 'a': |
case 'a': |
|
|
doall = 1; |
doall = 1; |
break; |
break; |
|
|
|
|
case 'f': /* other calendar file */ |
case 'f': /* other calendar file */ |
calendarFile = optarg; |
calendarFile = optarg; |
break; |
break; |
|
|
f_dayBefore = atoi(optarg); |
f_dayBefore = atoi(optarg); |
break; |
break; |
|
|
case '?': |
|
default: |
default: |
usage(); |
usage(); |
} |
} |