Mercurial > treepkg
changeset 566:1b3b08bbe27a
Accept also --config for --config-file
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 02 Sep 2011 10:41:14 +0000 |
parents | 7de7869962ef |
children | 9d44d4da3411 |
files | treepkg/options.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/options.py Fri Sep 02 10:30:52 2011 +0000 +++ b/treepkg/options.py Fri Sep 02 10:41:14 2011 +0000 @@ -17,7 +17,7 @@ dirname = os.path.dirname(__file__) parser.set_defaults(config_file=os.path.join(dirname, os.pardir, "treepkg.cfg")) - parser.add_option("--config-file", + parser.add_option("--config-file", "--config", dest="config_file", help=("The tree packager config file." " Default treepkg.cfg")) return parser