summaryrefslogtreecommitdiff
path: root/completions/htpasswd
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
commit5732da2af736c40cf693354485446ab4867ecb4d (patch)
tree76d76cdfa16ca62d20fb109da13895ec64fff110 /completions/htpasswd
parent9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (diff)
downloadbash-completion-5732da2af736c40cf693354485446ab4867ecb4d.tar.gz
New upstream version 2.9upstream/2.9
Diffstat (limited to 'completions/htpasswd')
-rw-r--r--completions/htpasswd6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/htpasswd b/completions/htpasswd
index bf3acb22..827e6dcc 100644
--- a/completions/htpasswd
+++ b/completions/htpasswd
@@ -16,7 +16,7 @@ _htpasswd()
if [[ $o -eq 0 || $o -eq $cword ]]; then
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
return
fi
# Password file (first non-option argument)
@@ -24,8 +24,8 @@ _htpasswd()
elif [[ $o -eq $cword-1 ]]; then
# Username (second non-option argument)
- COMPREPLY=( $( compgen -W \
- '$( cut -d: -f1 "${words[o]}" 2>/dev/null )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W \
+ '$(cut -d: -f1 "${words[o]}" 2>/dev/null)' -- "$cur") )
fi
} &&
complete -F _htpasswd htpasswd