chiark / gitweb /
zsh_completion: fix udevadm monitor flags
authorDaniel Wallace <danielwallace@gtmanfred.com>
Tue, 30 Apr 2013 23:42:22 +0000 (18:42 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 May 2013 14:15:25 +0000 (10:15 -0400)
The brackets in the _arguments description of udevadm monitor need to be
escaped.

shell-completion/systemd-zsh-completion.zsh

index a30fcf8c059b87f17bd266267cf973428a2fa767..b29a2e92237eab89fb4d15229afdfc732d381c4d 100644 (file)
@@ -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.]'
 }