From 531d7c97e7e48a3874448794e724c814ad662114 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Tue, 14 Mar 2017 16:28:20 -0500 Subject: [PATCH] man: remove more unnecessary line breaks in case they cause extra blank lines in some output formats. --- tools/command.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/command.c b/tools/command.c index b1622cc07..0abc3098a 100644 --- a/tools/command.c +++ b/tools/command.c @@ -3301,13 +3301,10 @@ void print_man(char *name, char *des_file, int secondary) printf(".P\n"); print_man_all_options_list(cname); printf("\n"); - printf(".P\n"); - printf("\n"); } if (des_file) { include_description_file(lvmname, des_file); - printf(".P\n"); } printf(".SH USAGE\n"); @@ -3330,11 +3327,8 @@ void print_man(char *name, char *des_file, int secondary) printf(".SH VARIABLES\n"); print_man_all_positions_desc(cname); } else { - if (cname->variants > 2) { + if (cname->variants > 2) printf("--\n"); - printf("\n"); - printf(".br\n"); - } } printf("\n"); @@ -3383,9 +3377,6 @@ void print_man_secondary(char *name) printf("--\n"); printf("\n"); - printf(".br\n"); - - printf("\n"); } }