Browse Source

klish: help: Use two spaces beetween prefix and help string

Serj Kalichev 2 months ago
parent
commit
d856ee0ded
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/klish/interactive.c

+ 1 - 1
bin/klish/interactive.c

@@ -387,7 +387,7 @@ static void display_help(const tinyrl_t *tinyrl, faux_list_t *help_list,
 		help_t *help = (help_t *)faux_list_data(node);
 		tinyrl_printf(tinyrl, "  %s%*s%s\n",
 			help->prefix,
-			(max + 1 - strlen(help->prefix)),
+			(max + 2 - strlen(help->prefix)),
 			" ",
 			help->line);
 	}