diff options
author | David Teigland <teigland@redhat.com> | 2021-04-21 12:05:10 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-04-21 12:05:10 -0500 |
commit | 66dd481f46099dd118136dacfad0e815e781605a (patch) | |
tree | dadff81e7140f002c9e302112d89293d64df5ff3 | |
parent | d651b340e68d97ada25e558eb50aa40062bba936 (diff) | |
download | lvm2-66dd481f46099dd118136dacfad0e815e781605a.tar.gz |
man/help: move implied annotation
from
[ --type foo (implied) ]
to
[ --type foo] (implied)
-rw-r--r-- | tools/command.c | 8 |
1 files 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; } |