Commit 3dbdfd33 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1291 Exit with 0 if z-push-top called with help.

Released under the Affero GNU General Public License (AGPL) version 3.
parent a060e7cb
......@@ -51,7 +51,7 @@ require_once 'vendor/autoload.php';
// check if help was requested from CLI
if (in_array('-h', $argv) || in_array('--help', $argv)) {
echo $zpt->UsageInstructions();
exit(1);
exit(0);
}
if ($zpt->IsAvailable()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment