aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 85abe6bc..21362a61 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -868,7 +868,7 @@ static COMMAND_HELPER(command_help_show, struct command *c, unsigned n,
free(cmd_name);
if (is_match) {
- if (c->usage) {
+ if (c->usage && strlen(c->usage) > 0) {
LOG_USER_N(" ");
command_help_show_wrap(c->usage, 0, n + 5);
} else