about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-06-19 08:04:44 +0000
committerClint Adams <clint@users.sourceforge.net>2007-06-19 08:04:44 +0000
commit1128b49c2a8ec4145659481d2419e4f4989a1a35 (patch)
tree61b83582113fc8265c8479db36f9672920155b94
parent1956b83097827b36f03443a24a49d0e288647e47 (diff)
downloadzsh-1128b49c2a8ec4145659481d2419e4f4989a1a35.tar.gz
zsh-1128b49c2a8ec4145659481d2419e4f4989a1a35.tar.xz
zsh-1128b49c2a8ec4145659481d2419e4f4989a1a35.zip
23568: complete iwconfig modu.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_iwconfig2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8176632c5..955783bda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-19  Clint Adams  <clint@zsh.org>
+
+	* 23568: Completion/Linux/Command/_iwconfig: complete iwconfig
+	modu.
+
 2007-06-18  Peter Stephenson  <pws@csr.com>
 
 	* unposted (should be in 23562): Test/C01arith.ztst: stupidity
diff --git a/Completion/Linux/Command/_iwconfig b/Completion/Linux/Command/_iwconfig
index 8ec8dfef2..30892fb6d 100644
--- a/Completion/Linux/Command/_iwconfig
+++ b/Completion/Linux/Command/_iwconfig
@@ -44,6 +44,7 @@ if [[ -n "$state" ]]; then
     period|timeout) _message -e timeouts 'timeout' ;;
     txpower) _message -e power 'transmit power' ;;
     retry) _message -e retries 'retries' ;;
+    (modu) _wanted -x names expl 'modulation' compadd 11g CCK OFDMa auto ;;
     *)
       _values -S ' ' -w 'option' \
       	'essid[set the network name]' \
@@ -60,6 +61,7 @@ if [[ -n "$state" ]]; then
 	'*power[manipulate power management scheme parameters]' \
 	'txpower[set transmit power]' \
 	'retry[set number of retries]' \
+	'modu[force a specific set of modulations]' \
 	'commit[apply changes imediately]' && ret=0
     ;;
   esac