diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-03-29 00:07:29 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-03-29 00:16:48 +0100 |
commit | 89f3005c606c80ff79ef7f52694104c891555ec3 (patch) | |
tree | 483a6759269ee5458d64360461c3b19a8f50c85d /gbp/scripts/clone.py | |
parent | 8358f1dcc77633c97a096ef6a93998f4099237c4 (diff) |
Use a much simpler version to fix the command name in --help
mostly reverting e1780f0.
Closes: #742907
Diffstat (limited to 'gbp/scripts/clone.py')
-rwxr-xr-x | gbp/scripts/clone.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/clone.py b/gbp/scripts/clone.py index 1ddee3fb..251cef21 100755 --- a/gbp/scripts/clone.py +++ b/gbp/scripts/clone.py @@ -31,7 +31,8 @@ import gbp.log def parse_args (argv): try: - parser = GbpOptionParser(usage='%prog [options] repository - clone a remote repository') + parser = GbpOptionParser(command=os.path.basename(argv[0]), prefix='', + usage='%prog [options] repository - clone a remote repository') except ConfigParser.ParsingError as err: gbp.log.err(err) return None, None |