menu: put tab when there is no option

This commit is contained in:
King Kévin 2018-02-06 17:25:36 +01:00
parent 86bd6d0978
commit 678d56aa68
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ void menu_print_commands(const struct menu_command_t* command_list, size_t comma
printf("%s", command.name);
if (MENU_ARGUMENT_NONE!=command.argument && command.argument_description) {
printf(" %s", command.argument_description);
} else {
printf("\t");
}
if (command.command_description) {
printf("\t%s", command.command_description);