From 90e9905f07695fd32696f3d543cbe4ed432263b6 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Fri, 11 Nov 2016 20:37:43 +0000 Subject: [PATCH] lib: Allow '-' to match VARIABLE_TKN Signed-off-by: Quentin Young --- lib/command_match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/command_match.c b/lib/command_match.c index 8fa8da6b10..ce03563acd 100644 --- a/lib/command_match.c +++ b/lib/command_match.c @@ -842,7 +842,7 @@ match_word (struct cmd_token *token, const char *word) } #define VARIABLE_ALPHABET \ -"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890:/._" +"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890:/._-" static enum match_type match_variable (struct cmd_token *token, const char *word) -- 2.39.5