[systemd-devel] [PATCH] zsh_completion: fix udevadm monitor flags

Daniel Wallace danielwallace at gtmanfred.com
Tue Apr 30 16:42:22 PDT 2013


The brackets in the _arguments description of udevadm monitor need to be
escaped.
---
 shell-completion/systemd-zsh-completion.zsh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
index 73db378..5cbddfe 100644
--- a/shell-completion/systemd-zsh-completion.zsh
+++ b/shell-completion/systemd-zsh-completion.zsh
@@ -969,7 +969,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.]'
 }
-- 
1.8.2.2



More information about the systemd-devel mailing list