Merge pull request #12562 from hsbt/typofix

Fixed typo
This commit is contained in:
Chris Roberts 2021-11-02 11:00:58 -07:00 committed by GitHub
commit 732f367a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,11 +121,11 @@ def get_top_level_commands(root_command, cmd_list)
return commands, flags_def, case_string
end
def format_script(root_command, subcommands, funciton_name)
def format_script(root_command, subcommands, function_name)
top_level_commands, top_level_args, state_case = get_top_level_commands(root_command, subcommands)
script = """
function #{funciton_name} () {
function #{function_name} () {
#{top_level_commands}