diff options
Diffstat (limited to 'gbp/scripts/config.py')
-rwxr-xr-x | gbp/scripts/config.py | 4 |
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] |