summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-11-11 20:44:31 +0000
committerClint Adams <clint@users.sourceforge.net>2005-11-11 20:44:31 +0000
commitcd17012af83777d982ae366f8372656bd4aff8f2 (patch)
treecfd196e7a38712d8fb2a3f13ce3783c04031d448
parentf9e6416b8af44c2371878384aca04a3a679e661a (diff)
downloadzsh-cd17012af83777d982ae366f8372656bd4aff8f2.tar.gz
zsh-cd17012af83777d982ae366f8372656bd4aff8f2.zip
22000: completion for totdconfig.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_totd13
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index df5271677..688d87bc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* 21999: Completion/Unix/Command/_gnutls:
completion for certtool and srptool.
+ * 22000: Completion/Unix/Command/_totd:
+ completion for totdconfig.
+
2005-11-10 Clint Adams <clint@zsh.org>
* 21998: Completion/Unix/Command/_gnutls:
diff --git a/Completion/Unix/Command/_totd b/Completion/Unix/Command/_totd
new file mode 100644
index 000000000..4d55d29bb
--- /dev/null
+++ b/Completion/Unix/Command/_totd
@@ -0,0 +1,13 @@
+#compdef totdconfig
+
+_arguments \
+ - set1 \
+ '-a[add totd specific options]' \
+ '-D[add totd specific config into dhclient-enter-hooks]' \
+ '-d:name server:_hosts' \
+ '-l[configure resolv.conf]' \
+ - set2 \
+ '-r:config to remove:(dhcp totd resolv all)' \
+ - set3 \
+ '-h[help]'
+