From 226c918bdd4fca758186db8faa7cec20999a4e30 Mon Sep 17 00:00:00 2001 From: zakuro Date: Fri, 8 Jan 2021 04:33:15 +0900 Subject: [PATCH] cli: make execute_help pub (#7938) --- vlib/cli/command.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/cli/command.v b/vlib/cli/command.v index 3466cfa7b8..c87d92b985 100644 --- a/vlib/cli/command.v +++ b/vlib/cli/command.v @@ -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)