From: W. Trevor King Date: Sat, 27 Oct 2012 15:51:05 +0000 (-0400) Subject: misc:completion:be.zsh: update import-xml --comment-root -> --root X-Git-Tag: 1.1.0~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9526ff928eea8d35d1b8dcf0751711c0b808e9c;p=be.git misc:completion:be.zsh: update import-xml --comment-root -> --root This catches the script up with: commit 4db1a045a0606bead191a563abc54dfa8352efe0 Author: W. Trevor King Date: Wed Aug 29 23:26:17 2012 -0400 Rewrite commands to use bugdirs instead of a single bugdir. --- 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 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 elements]:ID:($ids)' \ + '(-r --root)'{-r,--root=-}'[Supply a bug or comment ID as the root of any standalon elements]:ID:($ids)' \ && return 0 }