diff options
author | David Teigland <teigland@redhat.com> | 2017-03-14 16:28:20 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-03-14 16:28:20 -0500 |
commit | 531d7c97e7e48a3874448794e724c814ad662114 (patch) | |
tree | 096ee8197ca9268d5e49b197665e522c3c29e617 | |
parent | 23d59c6fc1983b84b386efc0558df001d514d141 (diff) | |
download | lvm2-531d7c97e7e48a3874448794e724c814ad662114.tar.gz |
man: remove more unnecessary line breaks
in case they cause extra blank lines in some output formats.
-rw-r--r-- | tools/command.c | 11 |
1 files changed, 1 insertions, 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"); } } |