From c9526ff928eea8d35d1b8dcf0751711c0b808e9c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 27 Oct 2012 11:51:05 -0400 Subject: [PATCH] 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. --- misc/completion/be.zsh | 4 ++-- 1 file 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 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 } -- 2.26.2