diff options
author | Christophe CHAUVET <christophe.chauvet@gmail.com> | 2013-08-28 07:24:03 +0200 |
---|---|---|
committer | Christophe CHAUVET <christophe.chauvet@gmail.com> | 2013-08-28 07:24:03 +0200 |
commit | 4010a5315aace3c3a33abf09580432b13b3efd07 (patch) | |
tree | 750cd8f6c81e4158125eea4b820922bf102b57f5 /cliff/app.py | |
parent | 47637469cf07c0b9c74227adb0a526e5b3867429 (diff) | |
download | cliff-4010a5315aace3c3a33abf09580432b13b3efd07.tar.gz |
Return code 1 is already use, use code 2 instead
Diffstat (limited to 'cliff/app.py')
-rw-r--r-- | cliff/app.py | 2 |
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 |