mirror of
https://github.com/openshift/source-to-image.git
synced 2026-02-05 03:45:02 +01:00
updating generated completions
This commit is contained in:
@@ -49,7 +49,7 @@ __s2i_handle_go_custom_completion()
|
||||
local out requestComp lastParam lastChar comp directive args
|
||||
|
||||
# Prepare the command to request completions for the program.
|
||||
# Calling ${words[0]} instead of directly s2i allows to handle aliases
|
||||
# Calling ${words[0]} instead of directly s2i allows handling aliases
|
||||
args=("${words[@]:1}")
|
||||
# Disable ActiveHelp which is not supported for bash completion v1
|
||||
requestComp="S2I_ACTIVE_HELP=0 ${words[0]} __completeNoDesc ${args[*]}"
|
||||
|
||||
@@ -210,7 +210,7 @@ __s2i_handle_go_custom_completion()
|
||||
local out requestComp lastParam lastChar comp directive args
|
||||
|
||||
# Prepare the command to request completions for the program.
|
||||
# Calling ${words[0]} instead of directly s2i allows to handle aliases
|
||||
# Calling ${words[0]} instead of directly s2i allows handling aliases
|
||||
args=("${words[@]:1}")
|
||||
# Disable ActiveHelp which is not supported for bash completion v1
|
||||
requestComp="S2I_ACTIVE_HELP=0 ${words[0]} __completeNoDesc ${args[*]}"
|
||||
|
||||
Reference in New Issue
Block a user