Skip to content

Commit

Permalink
馃殫 #17 Updated kcctl_completion
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfosterdev authored and gunnarmorling committed Oct 8, 2021
1 parent c478282 commit 5cc18da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kcctl_completion
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function _picocli_kcctl_config_setcontext() {

local commands=""
local flag_opts=""
local arg_opts="--cluster --bootstrap-servers --offset-topic"
local arg_opts="--cluster --bootstrap-servers --offset-topic --username --password"

compopt +o default

Expand All @@ -415,6 +415,12 @@ function _picocli_kcctl_config_setcontext() {
--offset-topic)
return
;;
--username)
return
;;
--password)
return
;;
esac

if [[ "${curr_word}" == -* ]]; then
Expand Down

0 comments on commit 5cc18da

Please sign in to comment.