summary refs log tree commit diff
path: root/bin/freecell.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/freecell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/freecell.c b/bin/freecell.c
index fbc0fe22..0110ecfe 100644
--- a/bin/freecell.c
+++ b/bin/freecell.c
@@ -22,7 +22,6 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <sysexits.h>
 #include <time.h>
 #include <unistd.h>
 
@@ -367,7 +366,7 @@ int main(int argc, char *argv[]) {
 		switch (opt) {
 			break; case 'd': delay = strtoul(optarg, NULL, 10);
 			break; case 'n': game = strtoul(optarg, NULL, 10);
-			break; default:  return EX_USAGE;
+			break; default:  return 1;
 		}
 	}
 	curse();