1
0
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:
Zdenek Kabelac 2024-05-01 22:55:23 +02:00
parent b4670db008
commit eeffc1d52b

View File

@ -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);