btrfs-progs: help: fix printing of aliased commands

The help string for aliased commands is glued on one line.  This
happened for device delete/remove.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-12-08 19:27:50 +01:00
parent b67e9a1b13
commit c9d43f2f3d
1 changed files with 2 additions and 0 deletions

2
help.c
View File

@ -148,6 +148,8 @@ static void usage_command_group_internal(const struct cmd_group *grp, int full,
usage_command_internal(cmd->usagestr, cmd->token, full, usage_command_internal(cmd->usagestr, cmd->token, full,
1, cmd->flags & CMD_ALIAS, outf); 1, cmd->flags & CMD_ALIAS, outf);
if (cmd->flags & CMD_ALIAS)
putchar('\n');
continue; continue;
} }