~9marusia6/maus/beamlinesimulation

« back to all changes in this revision

Viewing changes to src/common_py/Configuration.py

  • Committer: justinchristensen at berkeley
  • Date: 2012-06-08 08:47:52 UTC
  • mfrom: (669.1.1 release)
  • Revision ID: justinchristensen@berkeley.edu-20120608084752-5x3f3rzflhhcewwi
new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        # created to store the path and filename to a datacard
94
94
        parser = argparse.ArgumentParser()
95
95
        for key in sorted(config_dict.keys()):
96
 
            parser.add_argument('-'+key, action='store', dest=key, 
 
96
            parser.add_argument('--'+key, '-'+key, action='store', dest=key, 
97
97
                                default=config_dict[key])
98
98
        results = parser.parse_args()
99
99