diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-03-27 21:22:25 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-03-27 21:22:25 +0100 |
commit | e1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7 (patch) | |
tree | d349a6098c5764d3a879fc705a011adc09e3f7c1 /gbp/scripts/clone.py | |
parent | bbf21bf366ff0d248f9c06b1cff600f339b8655e (diff) |
Fix command output
The first line lacked the subcommand like:
$ gbp pull --help
Usage: gbp [options] - safely update a repository from remote
instead of
$ gbp pull --help
Usage: gbp pull [options] - safely update a repository from remote
^^^^
Diffstat (limited to 'gbp/scripts/clone.py')
-rwxr-xr-x | gbp/scripts/clone.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/scripts/clone.py b/gbp/scripts/clone.py index 251cef21..1ddee3fb 100755 --- a/gbp/scripts/clone.py +++ b/gbp/scripts/clone.py @@ -31,8 +31,7 @@ import gbp.log def parse_args (argv): try: - parser = GbpOptionParser(command=os.path.basename(argv[0]), prefix='', - usage='%prog [options] repository - clone a remote repository') + parser = GbpOptionParser(usage='%prog [options] repository - clone a remote repository') except ConfigParser.ParsingError as err: gbp.log.err(err) return None, None |