aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-04 12:57:30 +0200
committerGuido Günther <agx@sigxcpu.org>2014-04-04 12:58:47 +0200
commit2271202a44b461a9c61ccd1815822483b64bc4d3 (patch)
tree1ab89908da3d36a766098b00403780e7eac8db3b
parentb132cbb655e531bbc8d0766ca2605b05f61d099b (diff)
Slightly improve usage outputbpo/wheezy
-rwxr-xr-xgbp/scripts/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/config.py b/gbp/scripts/config.py
index 0ebca13..07c731c 100755
--- a/gbp/scripts/config.py
+++ b/gbp/scripts/config.py
@@ -29,7 +29,7 @@ import gbp.log
def build_parser(name):
try:
parser = GbpOptionParser(command=os.path.basename(name), prefix='',
- usage='%prog [options] - display configuration settings')
+ usage='%prog [options] command[.optionname] - display configuration settings')
except ConfigParser.ParsingError as err:
gbp.log.err(err)
return None
@@ -112,7 +112,7 @@ def main(argv):
gbp.log.error("No command given")
return 2
elif len(args) != 2:
- gbp.log.error("Can only take a single argument")
+ gbp.log.error("Can only take a command or command.optionname, check --help")
return 2
else:
query = args[1]