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:
parent
9295de7cea
commit
639fb633d3
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user