summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe CHAUVET <christophe.chauvet@gmail.com>2013-08-28 07:24:03 +0200
committerChristophe CHAUVET <christophe.chauvet@gmail.com>2013-08-28 07:24:03 +0200
commit4010a5315aace3c3a33abf09580432b13b3efd07 (patch)
tree750cd8f6c81e4158125eea4b820922bf102b57f5
parent47637469cf07c0b9c74227adb0a526e5b3867429 (diff)
downloadcliff-4010a5315aace3c3a33abf09580432b13b3efd07.tar.gz
Return code 1 is already use, use code 2 instead
-rw-r--r--cliff/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cliff/app.py b/cliff/app.py
index 52ccc1b..8a59b71 100644
--- a/cliff/app.py
+++ b/cliff/app.py
@@ -264,7 +264,7 @@ class App(object):
LOG.exception(err)
else:
LOG.error(err)
- return 1
+ return 2
cmd_factory, cmd_name, sub_argv = subcommand
cmd = cmd_factory(self, self.options)
err = None