mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
man-generator: code reformating
This commit is contained in:
parent
b4670db008
commit
eeffc1d52b
@ -1028,10 +1028,7 @@ static void _print_man_all_options_list(const struct command_name *cname)
|
|||||||
if (!val_names[val_enum].fn) {
|
if (!val_names[val_enum].fn) {
|
||||||
/* takes no arg */
|
/* takes no arg */
|
||||||
} else if (!val_names[val_enum].usage) {
|
} else if (!val_names[val_enum].usage) {
|
||||||
printf(" ");
|
printf(" \\fI%s\\fP", val_names[val_enum].name);
|
||||||
printf("\\fI");
|
|
||||||
printf("%s", val_names[val_enum].name);
|
|
||||||
printf("\\fP");
|
|
||||||
} else {
|
} else {
|
||||||
printf(" ");
|
printf(" ");
|
||||||
_print_val_man(cname, opt_enum, val_enum);
|
_print_val_man(cname, opt_enum, val_enum);
|
||||||
@ -1091,10 +1088,7 @@ static void _print_man_all_options_desc(const struct command_name *cname)
|
|||||||
if (!val_names[val_enum].fn) {
|
if (!val_names[val_enum].fn) {
|
||||||
/* takes no arg */
|
/* takes no arg */
|
||||||
} else if (!val_names[val_enum].usage) {
|
} else if (!val_names[val_enum].usage) {
|
||||||
printf(" ");
|
printf(" \\fI%s\\fP", val_names[val_enum].name);
|
||||||
printf("\\fI");
|
|
||||||
printf("%s", val_names[val_enum].name);
|
|
||||||
printf("\\fP");
|
|
||||||
} else {
|
} else {
|
||||||
printf(" ");
|
printf(" ");
|
||||||
_print_val_man(cname, opt_enum, val_enum);
|
_print_val_man(cname, opt_enum, val_enum);
|
||||||
|
Loading…
Reference in New Issue
Block a user