From 03a3863804d8fd5ed40c9628b222314f5733bc77 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 20 Nov 2024 13:44:35 +0100 Subject: [PATCH] man: clean Both branches printed new line. --- tools/man-generator.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/man-generator.c b/tools/man-generator.c index 14bdfb86a..62c5e74d9 100644 --- a/tools/man-generator.c +++ b/tools/man-generator.c @@ -538,12 +538,10 @@ static void _print_man_usage(char *lvmname, struct command *cmd) _print_def_man(cname, 0, &cmd->required_pos_args[rp].def, 1, lv_type_bits ? NULL : &lv_type_bits); } } - - printf("\n"); - } else { - printf("\n"); } + printf("\n"); + if (need_ro_indent_end) printf(".RE\n");