diff options
| author | Jonathan Robie <jonathan@apache.org> | 2010-12-06 17:26:35 +0000 |
|---|---|---|
| committer | Jonathan Robie <jonathan@apache.org> | 2010-12-06 17:26:35 +0000 |
| commit | fbf535098d8a2cadc13fe9cc361fe4385fd2adad (patch) | |
| tree | 879dbda97852a57d27e0930bae8cb78327f1e66f | |
| parent | 0f1b19084259c7c9349d9ff93037be8d1c70852a (diff) | |
| download | qpid-python-fbf535098d8a2cadc13fe9cc361fe4385fd2adad.tar.gz | |
Print usage rather than help if user gets usage wrong.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1042733 13f79535-47bb-0310-9956-ffa450edef68
| -rwxr-xr-x | tools/src/py/qpid-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/py/qpid-config b/tools/src/py/qpid-config index 0266c1611d..d162e34fa4 100755 --- a/tools/src/py/qpid-config +++ b/tools/src/py/qpid-config @@ -381,7 +381,7 @@ class JHelpFormatter(IndentedHelpFormatter): return "" def Usage(parser): - parser.print_help() + parser.print_usage() exit(-1) ## |
