Skip to content

Commit

Permalink
update-rc.d: indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Nov 25, 2019
1 parent 845be11 commit 645cc41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/update-rc.d
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ _update_rc_d()
options=( -f -n )

if [[ $cword -eq 1 || "$prev" == -* ]]; then
COMPREPLY=( $(compgen -W '${options[@]} ${services[@]}' \
-X '$(tr " " "|" <<<${words[@]})' -- "$cur") )
COMPREPLY=( $(compgen -W '${options[@]} ${services[@]}' \
-X '$(tr " " "|" <<<${words[@]})' -- "$cur") )
elif [[ "$prev" == ?($(tr " " "|" <<<"${services[*]}")) ]]; then
COMPREPLY=( $(compgen -W 'remove defaults start stop' -- "$cur") )
elif [[ "$prev" == defaults && "$cur" == [0-9] ]]; then
Expand Down

0 comments on commit 645cc41

Please sign in to comment.