mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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
|
* Skip common lvm options in lvm_all which
|
||||||
* are printed at the end under "Common options for lvm"
|
* 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))
|
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
|
* cname->common_options (options common
|
||||||
* to all variants), which are printed at
|
* to all variants), which are printed at
|
||||||
* the end under "Common options for command"
|
* 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])
|
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
|
* Skip common lvm options in lvm_all which
|
||||||
* are printed at the end under "Common options for lvm"
|
* 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))
|
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
|
* cname->common_options (options common
|
||||||
* to all variants), which are printed at
|
* to all variants), which are printed at
|
||||||
* the end under "Common options for command"
|
* 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])
|
if (cna && (cna->variants > 1) && cna->common_options[opt_enum])
|
||||||
|
Loading…
Reference in New Issue
Block a user