Made syndaemon recognize the '?' option, causing the help

message to be printed.
This commit is contained in:
Peter Osterlund
2003-11-20 18:32:24 +01:00
parent 793b86a23a
commit 069e4a26a6

View File

@@ -143,7 +143,7 @@ int main(int argc, char *argv[])
int shmid;
/* Parse command line parameters */
while ((c = getopt(argc, argv, "i:")) != EOF) {
while ((c = getopt(argc, argv, "i:?")) != EOF) {
switch(c) {
case 'i':
idle_time = atof(optarg);