summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2013-11-13 13:36:16 +0200
committerDavid Strauss <david@davidstrauss.net>2013-11-14 00:20:43 +1000
commited6556920c1a6cdfe0bb04e806bc1f54ea191545 (patch)
tree83d71f3003f8ca50f976850df46743b713163d2c /src
parentdf49ccafc0d57c731a3da3014ad55d5bb9ed3e1b (diff)
activate: fix crash when -s is passed
getopt_long() was told to accept -s which was never implemented.
Diffstat (limited to 'src')
-rw-r--r--src/activate/activate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 537626d390..2639d1cd53 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -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();