cli: make execute_help pub (#7938)

pull/7952/head
zakuro 2021-01-08 04:33:15 +09:00 committed by GitHub
parent cbefe6c32f
commit 226c918bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ fn (cmd Command) check_required_flags() {
}
}
fn (cmd Command) execute_help() {
pub fn (cmd Command) execute_help() {
if cmd.commands.contains('help') {
help_cmd := cmd.commands.get('help') or { return } // ignore error and handle command normally
help_cmd.execute(help_cmd)