aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-27 11:51:05 -0400
committerW. Trevor King <wking@tremily.us>2012-10-27 11:51:05 -0400
commitc9526ff928eea8d35d1b8dcf0751711c0b808e9c (patch)
tree3022c183c21c00daf22b3bb46334019a39e1dc1d
parent461b76cd42a15ff1738af85dadd6c98082eab6ac (diff)
downloadbugseverywhere-c9526ff928eea8d35d1b8dcf0751711c0b808e9c.tar.gz
misc:completion:be.zsh: update import-xml --comment-root -> --root
This catches the script up with: commit 4db1a045a0606bead191a563abc54dfa8352efe0 Author: W. Trevor King <wking@tremily.us> Date: Wed Aug 29 23:26:17 2012 -0400 Rewrite commands to use bugdirs instead of a single bugdir.
-rw-r--r--misc/completion/be.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/completion/be.zsh b/misc/completion/be.zsh
index 11a4ec3..36cfddc 100644
--- a/misc/completion/be.zsh
+++ b/misc/completion/be.zsh
@@ -138,7 +138,7 @@ _be-html () {
_be-import_xml () {
local curcontext="$curcontext" state line expl ret=1
- ids=("${(f)$(be import_xml --comment-root --complete)}")
+ ids=("${(f)$(be import_xml --root --complete)}")
_arguments -C \
'(-h --help)'{-h,--help}'[Print a help message]' \
@@ -146,7 +146,7 @@ _be-import_xml () {
'(-i --ignore-missing-references)'{-i,--ignore-missing-references}'[Ignore unknown <in-reply-to> elements]' \
'(-a --add-only)'{-a,--add-only}'[Cancel when bugs already exist]' \
'(-p --preserve-uuids)'{-p,--preserve-uuids}'[Preserve UUIDs for trusted input (potential name collisions)]' \
- '(-c --comment-root)'{-c,--comment-root=-}'[Supply a bug or comment ID as the root of any standalon <comment> elements]:ID:($ids)' \
+ '(-r --root)'{-r,--root=-}'[Supply a bug or comment ID as the root of any standalon <comment> elements]:ID:($ids)' \
&& return 0
}