summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-09-15 04:57:06 +0000
committersabetts <sabetts>2000-09-15 04:57:06 +0000
commitf292fda9dbdae554a69dd484b6e4dff9cef9e6a3 (patch)
tree7bd688345e260f99b9c175f2fadc9931c11db6ba /src/main.c
parentb870d2fc810701782a0eb02b508106009211d8cf (diff)
downloadratpoison-f292fda9dbdae554a69dd484b6e4dff9cef9e6a3.zip
now quits when it receives an invalid command line option.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 39856f7..1655d2a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -151,6 +151,8 @@ main (int argc, char *argv[])
case 'v':
print_version ();
break;
+ default:
+ exit (EXIT_FAILURE);
}
}