aboutsummaryrefslogtreecommitdiffstats
path: root/main/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/cli.c b/main/cli.c
index d80aaae20..c71c49e6e 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1728,6 +1728,9 @@ static char *__ast_cli_generator(const char *text, const char *word, int state,
/* XXX repeated code */
int src = 0, dst = 0, n = 0;
+ if (e->command[0] == '_')
+ continue;
+
/*
* Try to match words, up to and excluding the last word, which
* is either a blank or something that we want to extend.