|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
From 3ea302d20b1c60f469ed7315611d002a0d88f57d Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
Date: Thu, 18 Feb 2016 21:54:31 -0500
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
Subject: [PATCH] activate: fix -E option parsing
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
Fixes #2658.
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
(cherry picked from commit b722348d050aa2754cd9f903e8c3ce810c616b06)
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
src/activate/activate.c | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
diff --git a/src/activate/activate.c b/src/activate/activate.c
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
index 0db4967edb..4b3d0e5371 100644
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
--- a/src/activate/activate.c
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
+++ b/src/activate/activate.c
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
@@ -379,7 +379,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
assert(argc >= 0);
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
assert(argv);
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
- while ((c = getopt_long(argc, argv, "+hl:aEd", options, NULL)) >= 0)
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
+ while ((c = getopt_long(argc, argv, "+hl:aE:d", options, NULL)) >= 0)
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
switch(c) {
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
case 'h':
|
|
Zbigniew Jędrzejewski-Szmek |
2b6823 |
help();
|