summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2017-03-02 14:08:59 -0600
committerDavid Teigland <teigland@redhat.com>2017-03-02 14:08:59 -0600
commitd3bcec599354df6c2645d5872be0bae293caccb4 (patch)
treebbc218a672feb2baf97ec61476c8f7a8586e5271
parent910918d1c24f5edd07abd638958bc52da1e147c8 (diff)
downloadlvm2-d3bcec599354df6c2645d5872be0bae293caccb4.tar.gz
man: change the synopsis option style
Remove the required/optional words because it should already be evident from the use of [ ].
-rw-r--r--tools/command.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/command.c b/tools/command.c
index 0187972b5..28c77e4bd 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -2984,23 +2984,23 @@ void print_man(char *name, char *des_file, int secondary)
return;
if (cname->variant_has_ro && cname->variant_has_rp)
- printf("\\fB%s\\fP \\fIrequired_option_args\\fP \\fIrequired_position_args\\fP\n", lvmname);
+ printf("\\fB%s\\fP \\fIoption_args\\fP \\fIposition_args\\fP\n", lvmname);
else if (cname->variant_has_ro && !cname->variant_has_rp)
- printf("\\fB%s\\fP \\fIrequired_option_args\\fP\n", lvmname);
+ printf("\\fB%s\\fP \\fIoption_args\\fP\n", lvmname);
else if (!cname->variant_has_ro && cname->variant_has_rp)
- printf("\\fB%s\\fP \\fIrequired_position_args\\fP\n", lvmname);
+ printf("\\fB%s\\fP \\fIposition_args\\fP\n", lvmname);
else if (!cname->variant_has_ro && !cname->variant_has_rp)
printf("\\fB%s\\fP\n", lvmname);
printf(".br\n");
if (cname->variant_has_oo) {
- printf(" [ \\fIoptional_option_args\\fP ]\n");
+ printf(" [ \\fIoption_args\\fP ]\n");
printf(".br\n");
}
if (cname->variant_has_op) {
- printf(" [ \\fIoptional_position_args\\fP ]\n");
+ printf(" [ \\fIposition_args\\fP ]\n");
printf(".br\n");
}