[Bash-completion-commits] [bash-completion] 01/01: xz: Complete -T/--threads argument
Ville Skyttä
scop-guest at moszumanska.debian.org
Fri Jul 4 15:44:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit 9e2db8a03ea661eb7f4a4c41cd0558c063c04aca
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri Jul 4 14:58:05 2014 +0300
xz: Complete -T/--threads argument
---
completions/xz | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/completions/xz b/completions/xz
index e2e1b70..f30551c 100644
--- a/completions/xz
+++ b/completions/xz
@@ -23,6 +23,10 @@ _xz()
COMPREPLY=( $( compgen -W 'auto xz lzma raw' -- "$cur" ) )
return 0
;;
+ -T|--threads)
+ COMPREPLY=( $( compgen -W "{0..$(_ncpus)}" -- "$cur" ) )
+ return 0
+ ;;
-M|--memlimit|--memlimit-compress|--memlimit-decompress|--memory|\
-S|--suffix|--delta|--lzma1|--lzma2)
# argument required but no completions available
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list