From 4046f9bd956fec51769dc9d43afcd899d2c117b4 Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Fri, 24 Mar 2017 15:14:21 +0100 Subject: [PATCH] man/help: avoid escaping of '-' with --help --- tools/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/command.c b/tools/command.c index 58cd17d1d..66d5711f2 100644 --- a/tools/command.c +++ b/tools/command.c @@ -1613,7 +1613,8 @@ static void _print_usage_description(struct command *cmd) if (!bi && desc[di] == ' ') continue; - buf[bi++] = desc[di]; + if (desc[di] != '\\') + buf[bi++] = desc[di]; if (bi == (MAX_LINE - 1)) break;