summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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