activate: fix crash when -s is passed

getopt_long() was told to accept -s which was never implemented.
This commit is contained in:
Mantas Mikulėnas
2013-11-14 00:20:43 +10:00
committed by David Strauss
parent df49ccafc0
commit ed6556920c
+1 -1
View File
@@ -319,7 +319,7 @@ static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
while ((c = getopt_long(argc, argv, "+hl:saE:", options, NULL)) >= 0)
while ((c = getopt_long(argc, argv, "+hl:aE:", options, NULL)) >= 0)
switch(c) {
case 'h':
return help();