Add the PYSAWSIM_LOG_LEVEL environmental variable.
[sawsim.git] / pysawsim / parameter_scan.py
index 439fd0b1bbfbdb6ee2dda74190c6611fb522ebe9..0f30fb634024166ae52d1f588f5126f63e173d3f 100644 (file)
@@ -31,6 +31,7 @@ import numpy
 import pylab
 
 from . import log
+from . import PYSAWSIM_LOG_LEVEL_MSG as _PYSAWSIM_LOG_LEVEL_MSG
 from .histogram import Histogram
 from .sawsim_histogram import sawsim_histogram
 from .sawsim import SawsimRunner
@@ -381,6 +382,7 @@ def main(argv=None):
             '`<bin_edge>` should mark the left-hand side of the bin, and',
             'all bins should be of equal width (so we know where the last',
             'one ends).',
+            PYSAWSIM_LOG_LEVEL_MSG,
             ])
     parser = OptionParser(usage, epilog=epilog)
     parser.format_epilog = lambda formatter: epilog+'\n'