Red Hat Bugzilla – Bug 1030139
zanata-cli does not respond to batch flag (-B or --batch-mode)
Last modified: 2015-07-28 22:46:39 EDT
Description of problem:
When running zanata-cli push, adding -B or --batch-mode does not prevent the confirmation prompt "are you suer (y/n)?" being displayed and pausing client execution. This makes the client useless in automated jobs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. prepeare zanata.xml for any project
2. run zanata-cli push -B with appropriate source and target directories
command pauses with the prompt "are you sure (y/n)?"
command runs to completion then terminates.
The -B option works if positioned before the sub-command, e.g. zanata-cli -B push.
This appears similar to behaviour of the -e and -X option as noted in https://bugzilla.redhat.com/show_bug.cgi?id=1003444
It looks like a duplicate of 1003444.
David, thanks for point this out.
*** This bug has been marked as a duplicate of bug 1003444 ***
Re-opening because this is not a duplicate of bug 1003444 - that bug does not mention the -B flag at all, and the fix may not necessarily be the same.
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-186