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-12-08 21:28:05 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent b3b1073e2b
commit 3a1149687f
+1 -1
View File
@@ -347,7 +347,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':
help();