From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - man-generator: option description indented
Date: Mon, 12 Apr 2021 07:55:46 +0000 (GMT) [thread overview]
Message-ID: <20210412075546.6B68039FCC7B@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e01ce8e2aeeb08d7f08d99976fa01635d7c3bfa5
Commit: e01ce8e2aeeb08d7f08d99976fa01635d7c3bfa5
Parent: 441b702362ad6a756551f059d4ca8d62713de6ac
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Sun Apr 11 19:53:16 2021 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Apr 12 09:54:16 2021 +0200
man-generator: option description indented
Left indention is needed only for options, but is actually
unwanted for decription itself.
---
tools/command.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/command.c b/tools/command.c
index 0f31c5138..a81105b96 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -3188,10 +3188,10 @@ static void _print_man_all_options_desc(struct command_name *cname)
if (opt_names[opt_enum].desc) {
printf("\n");
printf(".br\n");
+ printf(".ad b\n");
_print_man_option_desc(cname, opt_enum);
- }
-
- printf(".ad b\n");
+ } else
+ printf(".ad b\n");
}
}
reply other threads:[~2021-04-12 7:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210412075546.6B68039FCC7B@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.