summaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/clone.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-03-27 21:22:25 +0100
committerGuido Günther <agx@sigxcpu.org>2014-03-27 21:22:25 +0100
commite1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7 (patch)
treed349a6098c5764d3a879fc705a011adc09e3f7c1 /gbp/scripts/clone.py
parentbbf21bf366ff0d248f9c06b1cff600f339b8655e (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-xgbp/scripts/clone.py3
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