summaryrefslogtreecommitdiff
path: root/tools/command.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-04-11 14:28:51 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-04-12 09:54:16 +0200
commit441b702362ad6a756551f059d4ca8d62713de6ac (patch)
treecbdc4b75f4d6297494a824686b208b8742e67d8a /tools/command.c
parentd86b5836442a357e6c01ee897b5d530e14494f73 (diff)
downloadlvm2-441b702362ad6a756551f059d4ca8d62713de6ac.tar.gz
man-generator: remove ',' between some options
It would be complicated to handle ',' alignment after hyphenation changes ATM, but these commas seems to be there rather unneeded so remove them and make the man output more clear.
Diffstat (limited to 'tools/command.c')
-rw-r--r--tools/command.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/command.c b/tools/command.c
index 7e0c2584d..0f31c5138 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -2559,10 +2559,7 @@ static void _print_man_usage(char *lvmname, struct command *cmd)
continue;
if (sep) {
- printf(",\n");
- printf(".ad b\n");
- printf(".br\n");
- printf(".ad l\n");
+ printf("\n.br\n");
printf(" ");
}
@@ -2591,10 +2588,7 @@ static void _print_man_usage(char *lvmname, struct command *cmd)
continue;
if (sep) {
- printf(",\n");
- printf(".ad b\n");
- printf(".br\n");
- printf(".ad l\n");
+ printf("\n.br\n");
printf(" ");
} else
printf(".ad l\n");