diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-04-09 20:40:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-04-09 20:40:15 +0200 |
commit | 237ac1a18933c06faf12afdfe37a6232d057807e (patch) | |
tree | 750e08607f6781b771f472f62d0da68265a68b41 /src | |
parent | b92a5731e3b1ec7985f899171bc8abc543f404c2 (diff) |
changelog, BC case or [ -L %F ] and similar actions using /bin/[
Diffstat (limited to 'src')
-rw-r--r-- | src/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c index f5f1242..b43db91 100644 --- a/src/options.c +++ b/src/options.c @@ -799,7 +799,8 @@ static void check_options(void) } opt.action_titles[i] = opt.actions[i]; if (opt.actions[i] && (opt.actions[i][0] == '[')) { - if ((endptr = strchr(opt.actions[i], ']')) != NULL) { + if (((endptr = strchr(opt.actions[i], ']')) != NULL) + && (opt.actions[i][1] != ' ')) { opt.action_titles[i] = opt.actions[i] + 1; opt.actions[i] = endptr + 1; *endptr = 0; |