diff bin/sendnotificationmails.py @ 563:a4efa91bc3b2

Also use option --config to pass the config file
author Bjoern Ricks <bricks@intevation.de>
date Fri, 02 Sep 2011 10:18:54 +0000
parents e4c0beab5328
children a61046da30a1
line wrap: on
line diff
--- a/bin/sendnotificationmails.py	Fri Sep 02 09:47:42 2011 +0000
+++ b/bin/sendnotificationmails.py	Fri Sep 02 10:18:54 2011 +0000
@@ -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()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)