switch to named args
This commit is contained in:
parent
1dcfeb5516
commit
665e68a82f
@ -1625,10 +1625,10 @@ class Formula
|
|||||||
end
|
end
|
||||||
private :extract_macho_slice_from
|
private :extract_macho_slice_from
|
||||||
|
|
||||||
def generate_completions(base_name = name,
|
def generate_completions(base_name: name,
|
||||||
shells = [:bash, :zsh, :fish],
|
shells: [:bash, :zsh, :fish],
|
||||||
binary = bin/base_name,
|
binary: bin/base_name,
|
||||||
cmd = "completion",
|
cmd: "completion",
|
||||||
shell_as_flag: false)
|
shell_as_flag: false)
|
||||||
completion_script_path_map = {
|
completion_script_path_map = {
|
||||||
bash: bash_completion/base_name,
|
bash: bash_completion/base_name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user