From 0c00d079689eedd9f19ab2904821e0d9a768204d Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 15 Mar 2007 14:48:10 +0000 Subject: [PATCH] allow SELECT in place of SHOW --- src/admin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin.c b/src/admin.c index c08e21b..2a8da8a 100644 --- a/src/admin.c +++ b/src/admin.c @@ -30,14 +30,14 @@ #define MAX_GROUPS 10 /* group numbers */ -#define SHOW_ARG 1 +#define SHOW_ARG 2 #define SET_KEY 1 #define SET_VAL 2 #define SINGLECMD 1 /* SHOW */ static const char cmd_show_rx[] = -"^" WS0 "show" WS1 WORD "?" WS0 ";" WS0 "$"; +"^" WS0 "(show|select)" WS1 WORD "?" WS0 ";" WS0 "$"; /* SET with simple value */ static const char cmd_set_word_rx[] = -- 2.40.0