summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorDaniel Wallace <danielwallace@gtmanfred.com>2013-04-30 18:42:22 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-05-01 10:15:25 -0400
commit57277cbe40bc9a1421c810cee39c606f11d39008 (patch)
tree44e5f70bfb5b327f11a015d0504ffcbd362214f3 /shell-completion
parent96de7c047f23eb07af0844de8d450530d56f8dfb (diff)
zsh_completion: fix udevadm monitor flags
The brackets in the _arguments description of udevadm monitor need to be escaped.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/systemd-zsh-completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
index a30fcf8c05..b29a2e9223 100644
--- a/shell-completion/systemd-zsh-completion.zsh
+++ b/shell-completion/systemd-zsh-completion.zsh
@@ -971,7 +971,7 @@ _udevadm_monitor(){
'--kernel[Print the kernel uevents.]' \
'--udev[Print the udev event after the rule processing.]' \
'--property[Also print the properties of the event.]' \
- '--subsystem-match=[Filter events by subsystem[/devtype].]' \
+ '--subsystem-match=[Filter events by subsystem/\[devtype\].]' \
'--tag-match=[Filter events by property.]' \
'--help[Print help text.]'
}