summaryrefslogtreecommitdiffstats
path: root/contrib/zsh-completion
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-03-12 16:01:43 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2012-03-12 16:01:43 +0100
commit94ae8b1ccd08b7d0b2408db5b2054dee53413166 (patch)
tree534008d264f6c2b15b2431d5d20ca56f0e4b8c07 /contrib/zsh-completion
parent1a6cc347550cfde03be9f3155240b8d0e60e3e39 (diff)
downloadnetctl-94ae8b1ccd08b7d0b2408db5b2054dee53413166.tar.gz
netctl-94ae8b1ccd08b7d0b2408db5b2054dee53413166.tar.xz
Rename -i parameter to -D
-i is not a very cool parameter for downing an interface. Change it to -D so that it mirrors -R in the sense that a capital is used for interface-based actions. The old behaviour is kept (undocumented) for backward compatibility. Also a typo (iface-recont should have been iface-recon) is fixed. Lastly some restrictions on profile naming are included in the documentation. The "should not start with '@'" is only for usage with net-profiles.
Diffstat (limited to 'contrib/zsh-completion')
-rw-r--r--contrib/zsh-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/zsh-completion b/contrib/zsh-completion
index 1f9fa9e..8d05ee4 100644
--- a/contrib/zsh-completion
+++ b/contrib/zsh-completion
@@ -38,7 +38,7 @@ _arguments -C \
'(- *)-r[Disconnect and reconnect the specified profile]:Active profiles:up_profiles' \
'(- *)-R[Reconnect profile active on specified interface]:Active interface:up_ifaces' \
'(- *)-d[Take specified profile down]:Active profile:up_profiles' \
-'(- *)-i[Take down profile active on specified interface]:Active interface:up_ifaces' \
+'(- *)-D[Take down profile active on specified interface]:Active interface:up_ifaces' \
'(- *)-a[Take all active profiles down]' \
'(- *)*:All options:all_options'