summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd-list-keys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd-list-keys.c b/cmd-list-keys.c
index d41f890b..b60b4666 100644
--- a/cmd-list-keys.c
+++ b/cmd-list-keys.c
@@ -80,6 +80,11 @@ cmd_list_keys_exec(struct cmd *self, struct cmd_ctx *ctx)
if (used >= sizeof tmp)
continue;
}
+ if (bd->can_repeat) {
+ used = strlcat(tmp, "(repeat) ", sizeof tmp);
+ if (used >= sizeof tmp)
+ continue;
+ }
cmd_list_print(bd->cmdlist, tmp + used, (sizeof tmp) - used);
ctx->print(ctx, "%s", tmp);
}