From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - man/help: move implied annotation
Date: Wed, 21 Apr 2021 17:12:01 +0000 (GMT) [thread overview]
Message-ID: <20210421171201.1BEF83892015@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=66dd481f46099dd118136dacfad0e815e781605a
Commit: 66dd481f46099dd118136dacfad0e815e781605a
Parent: d651b340e68d97ada25e558eb50aa40062bba936
Author: David Teigland <teigland@redhat.com>
AuthorDate: Wed Apr 21 12:05:10 2021 -0500
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Wed Apr 21 12:05:10 2021 -0500
man/help: move implied annotation
from
[ --type foo (implied) ]
to
[ --type foo] (implied)
---
tools/command.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/command.c b/tools/command.c
index 99661a517..6431e2a50 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -1979,9 +1979,9 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
if (cmd->autotype) {
printf("\n\t");
if (!cmd->autotype2)
- printf("[ --type %s (implied) ]", cmd->autotype);
+ printf("[ --type %s ] (implied)", cmd->autotype);
else
- printf("[ --type %s|%s (implied) ]", cmd->autotype, cmd->autotype2);
+ printf("[ --type %s|%s ] (implied)", cmd->autotype, cmd->autotype2);
}
if (include_extents) {
@@ -2762,9 +2762,9 @@ static void _print_man_usage(char *lvmname, struct command *cmd)
if (cmd->autotype) {
if (!cmd->autotype2)
- printf("[ \\fB--type %s\\fP (implied) ]\n", cmd->autotype);
+ printf("[ \\fB--type %s\\fP ] (implied)\n", cmd->autotype);
else
- printf("[ \\fB--type %s\\fP|\\fB%s\\fP (implied) ]\n", cmd->autotype, cmd->autotype2);
+ printf("[ \\fB--type %s\\fP|\\fB%s\\fP ] (implied)\n", cmd->autotype, cmd->autotype2);
printf(".br\n");
sep = 1;
}
reply other threads:[~2021-04-21 17:12 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=20210421171201.1BEF83892015@sourceware.org \
--to=teigland@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.