From fbf535098d8a2cadc13fe9cc361fe4385fd2adad Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Mon, 6 Dec 2010 17:26:35 +0000 Subject: 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 --- tools/src/py/qpid-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ## -- cgit v1.2.1