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): How reproducible: Always Steps to Reproduce: 1. prepeare zanata.xml for any project 2. run zanata-cli push -B with appropriate source and target directories Actual results: command pauses with the prompt "are you sure (y/n)?" Expected results: command runs to completion then terminates. Additional info:
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