[Treepkg-commits] r529 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Sep 2 12:41:14 CEST 2011
Author: bricks
Date: 2011-09-02 12:41:14 +0200 (Fri, 02 Sep 2011)
New Revision: 529
Modified:
trunk/treepkg/options.py
Log:
Accept also --config for --config-file
Modified: trunk/treepkg/options.py
===================================================================
--- trunk/treepkg/options.py 2011-09-02 10:30:52 UTC (rev 528)
+++ trunk/treepkg/options.py 2011-09-02 10:41:14 UTC (rev 529)
@@ -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
More information about the Treepkg-commits
mailing list