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:
parent
b67e9a1b13
commit
c9d43f2f3d
2
help.c
2
help.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue