summaryrefslogtreecommitdiff
path: root/completions/uscan
diff options
context:
space:
mode:
Diffstat (limited to 'completions/uscan')
-rw-r--r--completions/uscan10
1 files changed, 2 insertions, 8 deletions
diff --git a/completions/uscan b/completions/uscan
index aafc1dfd..de0e7174 100644
--- a/completions/uscan
+++ b/completions/uscan
@@ -7,7 +7,7 @@ _uscan()
case $prev in
--package)
- COMPREPLY=( $( _xfunc apt-cache _apt_cache_src_packages ))
+ COMPREPLY=( $(_xfunc apt-cache _apt_cache_src_packages))
return
;;
--watchfile)
@@ -26,13 +26,7 @@ _uscan()
$split && return
- COMPREPLY=( $( compgen -W ' --report --no-download --report-status
- --download --destdir --force-download --pasv --no-pasv --symlink --rename
- --repack --no-symlink --dehs --no-dehs --download-current-version --verbose
- --no-verbose --debug --user-agent --useragent --no-conf --help
- --version --timeout --package --upstream-version --watchfile
- --download-version --check-dirname-level --check-dirname-regex
- ' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
} &&
complete -F _uscan uscan