mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-05 13:18:20 +03:00
help/man: remove commas from list of options
Using commas between options does not seem to be done anywhere else, so remove them.
This commit is contained in:
parent
81c0ed9fc6
commit
22bee4fbdb
@ -1624,7 +1624,7 @@ void print_usage(struct command *cmd)
|
|||||||
if (first)
|
if (first)
|
||||||
printf("\n\t[");
|
printf("\n\t[");
|
||||||
else
|
else
|
||||||
printf(",\n\t ");
|
printf("\n\t ");
|
||||||
first = 0;
|
first = 0;
|
||||||
|
|
||||||
printf(" %s", opt_names[opt_enum].long_opt);
|
printf(" %s", opt_names[opt_enum].long_opt);
|
||||||
@ -1637,7 +1637,7 @@ void print_usage(struct command *cmd)
|
|||||||
if (first)
|
if (first)
|
||||||
printf("\n\t[");
|
printf("\n\t[");
|
||||||
else
|
else
|
||||||
printf(",\n\t ");
|
printf("\n\t ");
|
||||||
printf(" COMMON_OPTIONS ]");
|
printf(" COMMON_OPTIONS ]");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1687,7 +1687,7 @@ void print_usage_common(struct command_name *cname, struct command *cmd)
|
|||||||
if (first)
|
if (first)
|
||||||
printf("\n\t[");
|
printf("\n\t[");
|
||||||
else
|
else
|
||||||
printf(",\n\t ");
|
printf("\n\t ");
|
||||||
first = 0;
|
first = 0;
|
||||||
|
|
||||||
for (oo = 0; oo < cmd->oo_count; oo++) {
|
for (oo = 0; oo < cmd->oo_count; oo++) {
|
||||||
@ -1712,7 +1712,7 @@ void print_usage_common(struct command_name *cname, struct command *cmd)
|
|||||||
if (first)
|
if (first)
|
||||||
printf("\n\t[");
|
printf("\n\t[");
|
||||||
else
|
else
|
||||||
printf(",\n\t ");
|
printf("\n\t ");
|
||||||
first = 0;
|
first = 0;
|
||||||
|
|
||||||
printf(" %s", opt_names[opt_enum].long_opt);
|
printf(" %s", opt_names[opt_enum].long_opt);
|
||||||
@ -2081,7 +2081,6 @@ void print_man_usage(char *lvmname, struct command *cmd)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (sep) {
|
if (sep) {
|
||||||
printf(",");
|
|
||||||
printf("\n.br\n");
|
printf("\n.br\n");
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
@ -2112,7 +2111,6 @@ void print_man_usage(char *lvmname, struct command *cmd)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (sep) {
|
if (sep) {
|
||||||
printf(",");
|
|
||||||
printf("\n.br\n");
|
printf("\n.br\n");
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
@ -2130,7 +2128,6 @@ void print_man_usage(char *lvmname, struct command *cmd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sep) {
|
if (sep) {
|
||||||
printf(",");
|
|
||||||
printf("\n.br\n");
|
printf("\n.br\n");
|
||||||
printf(" ");
|
printf(" ");
|
||||||
/* space alignment without short opt */
|
/* space alignment without short opt */
|
||||||
@ -2209,7 +2206,6 @@ void print_man_usage_common(struct command *cmd)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (sep) {
|
if (sep) {
|
||||||
printf(",");
|
|
||||||
printf("\n.br\n");
|
printf("\n.br\n");
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
@ -2246,7 +2242,6 @@ void print_man_usage_common(struct command *cmd)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (sep) {
|
if (sep) {
|
||||||
printf(",");
|
|
||||||
printf("\n.br\n");
|
printf("\n.br\n");
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user