summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-04-17 16:17:35 +0000
committerClint Adams <clint@users.sourceforge.net>2005-04-17 16:17:35 +0000
commit5971f3264cf892e6469217d43c1d7dc25efdcc3f (patch)
treef8b105bd8406eae3c25be767d9cb42d88fc6cb98
parent54614a941b4e0048c6ef9f5f12f9ec581920a856 (diff)
downloadzsh-5971f3264cf892e6469217d43c1d7dc25efdcc3f.tar.gz
zsh-5971f3264cf892e6469217d43c1d7dc25efdcc3f.tar.xz
zsh-5971f3264cf892e6469217d43c1d7dc25efdcc3f.zip
21151: completion for module-assistant.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Debian/Command/_module-assistant17
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d49c5971..9391b2161 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-04-17  Clint Adams  <clint@zsh.org>
 
+	* 21151: Completion/Debian/Command/_module-assistant: completion
+	for module-assistant.
+
 	* 21150: Completion/Unix/Command/_baz,
 	Completion/Unix/Command/_tla: handle parsing of subcommand help
 	output a bit more sanely.
diff --git a/Completion/Debian/Command/_module-assistant b/Completion/Debian/Command/_module-assistant
new file mode 100644
index 000000000..60eab6615
--- /dev/null
+++ b/Completion/Debian/Command/_module-assistant
@@ -0,0 +1,17 @@
+#compdef module-assistant m-a
+
+_arguments \
+ '(-h --help)'{-h,--help}'[print help screen]' \
+ '(-v --verbose)'{-v,--verbose}'[Be verbose, show full paths, etc.]' \
+ '(-q --quiet)'{-q,--quiet}'[The opposite of verbose]' \
+ '(-n --no-rebuild)'{-n,--no-rebuild}'[Do not rebuild when package exists]' \
+ '(-i --ignore-failures)'{-i,--ignore-failures}'[Do not stop on build failures]' \
+ '(-s --apt-search)'{-s,--apt-search}'[Search for installation candidates in the Debian archive]' \
+ '(-f --force)'{-f,--force}'[Force using new versions even when old ones exist]' \
+ '(-u --userdir)'{-u,--userdir}'[Specify a (writable) replacement directory for /var&/usr]:dir:_files -/' \
+ '(-l --kvers-list)'{-l,--kvers-list}'[List of kernel versions to work on (default: current version)]:kernel version list:' \
+ '(-k --kernel-dir)'{-k,--kernel-dir}'[List of kernel headers/source directories, comma separated]:list of dirs:_files -/' \
+ '(-t --text-mode)'{-t,--text-mode}'[no progress bars]' \
+ '1:list of commands:_values -s , subcommands update get build list install auto-install prepare clean purge' \
+ '*:packages: compadd ${${${$(ls /usr/src/modass/var_cache_modass/*.avail_version)}:t}%.avail_version}'
+