activate: fix crash when -s is passed
getopt_long() was told to accept -s which was never implemented.
This commit is contained in:
committed by
David Strauss
parent
df49ccafc0
commit
ed6556920c
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user