menu: put tab when there is no option
This commit is contained in:
parent
86bd6d0978
commit
678d56aa68
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue