mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cli: make execute_help pub (#7938)
This commit is contained in:
parent
cbefe6c32f
commit
226c918bdd
@ -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') {
|
if cmd.commands.contains('help') {
|
||||||
help_cmd := cmd.commands.get('help') or { return } // ignore error and handle command normally
|
help_cmd := cmd.commands.get('help') or { return } // ignore error and handle command normally
|
||||||
help_cmd.execute(help_cmd)
|
help_cmd.execute(help_cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user