Mercurial > hg > silvermirror
changeset 29:882b26fbfcd3
STUB: silvermirror/hg.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 31 Jan 2014 19:46:57 -0800 |
parents | 03911cb46f53 |
children | 19ee8dfe2325 |
files | silvermirror/hg.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/silvermirror/hg.py Fri Jan 31 19:34:46 2014 -0800 +++ b/silvermirror/hg.py Fri Jan 31 19:46:57 2014 -0800 @@ -68,11 +68,11 @@ # parse command line parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument('host', dest='host', + parser.add_argument('host', help="URL of mercurial repository index page") parser.add_argument('-d', '--directory', dest='directory', - default=os.path.join(os.environ['HOME'], 'hg'), - help="base directory to clone/update to [DEFAULT: %default]") + default=os.path.join(os.environ['HOME'], 'hg'), + help="base directory to clone/update to [DEFAULT: %(default)s]") parser.add_argument('--list', dest='list', action='store_true', default=False, help="list repositories and exit")