Skip to content

Commit

Permalink
update completions to handle file completion correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Aug 22, 2022
1 parent 8d36854 commit 776ebd1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion usr/share/bash-completion/completions/onionjuggler-cli
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_onionjuggler_cli()
{
local cur prev words cword
_init_completion || return
_init_completion -s || return

case $prev in
--gateway | --purge | --quiet | --renew )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_onionjuggler_cli_auth_client()
{
local cur prev words cword
_init_completion || return
_init_completion -s || return

case $prev in
--client | --service | --replace-file | \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_onionjuggler_cli_auth_server()
{
local cur prev words cword
_init_completion || return
_init_completion -s || return

case $prev in
--client | --service | --replace-file | \
Expand Down
2 changes: 1 addition & 1 deletion usr/share/bash-completion/completions/onionjuggler-cli-web
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_onionjuggler_cli_web()
{
local cur prev words cword
_init_completion || return
_init_completion -s || return

case $prev in
-no-check-service | \
Expand Down
2 changes: 1 addition & 1 deletion usr/share/bash-completion/completions/onionjuggler-tui
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_onionjuggler_tui()
{
local cur prev words cword
_init_completion || return
_init_completion -s || return

case $prev in
--help | --version )
Expand Down

0 comments on commit 776ebd1

Please sign in to comment.