From c9d43f2f3dd0976c1ce1e8e4cd1213c59384ff23 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 8 Dec 2016 19:27:50 +0100 Subject: 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 --- help.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/help.c b/help.c index c8bb7204..5573f0f9 100644 --- a/help.c +++ b/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, 1, cmd->flags & CMD_ALIAS, outf); + if (cmd->flags & CMD_ALIAS) + putchar('\n'); continue; } -- cgit v1.2.3