diff options
author | David Sterba <dsterba@suse.com> | 2016-12-08 19:27:50 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-14 15:06:36 +0100 |
commit | c9d43f2f3dd0976c1ce1e8e4cd1213c59384ff23 (patch) | |
tree | c981fdec20afc028ee4f4acd5e04ad96bee816d6 /help.c | |
parent | b67e9a1b132c98a2e31df9e8ae79273a8531ba6f (diff) |
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>
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, 1, cmd->flags & CMD_ALIAS, outf); + if (cmd->flags & CMD_ALIAS) + putchar('\n'); continue; } |