fixed system exit for --help
@@ -886,6 +886,7 @@ class Command(object):
logger.error(exc)
errors = True
except SystemExit as exc:
+ if exc.code != 0:
logger.error(exc)
self._user_io.out.error("Exiting with code: %d" % exc.code)
errors = exc.code
