1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: correct invalid function

Use proper function names in annotation

There are no fuction named print_common_options_cmd()
and print_common_options_lvm(). So, rename them to the
real function named print_usage_common_cmd() and
print_usage_common_lvm().

Signed-off-by: YunJian Long
This commit is contained in:
long.yunjian@zte.com.cn 2024-10-16 10:16:27 +08:00 committed by Zdenek Kabelac
parent 9295de7cea
commit 639fb633d3

View File

@ -1851,7 +1851,7 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
/*
* Skip common lvm options in lvm_all which
* are printed at the end under "Common options for lvm"
* see print_common_options_lvm()
* see print_usage_common_lvm()
*/
if (_is_lvm_all_opt(opt_enum))
@ -1863,7 +1863,7 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
* cname->common_options (options common
* to all variants), which are printed at
* the end under "Common options for command"
* see print_common_options_cmd()
* see print_usage_common_cmd()
*/
if (cna && (cna->variants > 1) && cna->common_options[opt_enum])
@ -1891,7 +1891,7 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
/*
* Skip common lvm options in lvm_all which
* are printed at the end under "Common options for lvm"
* see print_common_options_lvm()
* see print_usage_common_lvm()
*/
if (_is_lvm_all_opt(opt_enum))
@ -1903,7 +1903,7 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
* cname->common_options (options common
* to all variants), which are printed at
* the end under "Common options for command"
* see print_common_options_cmd()
* see print_usage_common_cmd()
*/
if (cna && (cna->variants > 1) && cna->common_options[opt_enum])