[Treepkg-commits] r526 - trunk/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 2 12:18:54 CEST 2011


Author: bricks
Date: 2011-09-02 12:18:54 +0200 (Fri, 02 Sep 2011)
New Revision: 526

Modified:
   trunk/bin/sendnotificationmails.py
Log:
Also use option --config to pass the config file


Modified: trunk/bin/sendnotificationmails.py
===================================================================
--- trunk/bin/sendnotificationmails.py	2011-09-02 09:47:42 UTC (rev 525)
+++ trunk/bin/sendnotificationmails.py	2011-09-02 10:18:54 UTC (rev 526)
@@ -34,7 +34,7 @@
     parser = OptionParser()
     parser.set_defaults(config_file=os.path.join(treepkgcmd.topdir,
                                                  "notification.cfg"))
-    parser.add_option("--config-file",
+    parser.add_option("--config", "--config-file",
                       help=("The configuration file."
                             " Default notification.cfg"))
     return parser.parse_args()



More information about the Treepkg-commits mailing list