Commit 4bb5ea76 authored by Jose Enrique.Ruiz's avatar Jose Enrique.Ruiz
Browse files

add -c --config option to declare OSA config file to use

parent 59cdd360
......@@ -495,6 +495,8 @@ def provprocessparsing():
parser = OptionParser(usage=message)
parser.add_option("-p", "--prov", action="store", dest="provfile", default="prov.log",
help="provenance file to process [default prov.log]")
parser.add_option("-c", "--config", action="store", dest="configfile", default = None,
help="use specific config file [default cfg/osa.cfg]")
# Parse the command line
(opts, args) = parser.parse_args()
......
......@@ -130,6 +130,7 @@ if __name__ == "__main__":
# provprocess.py
# 02006
# /fefs/aswg/data/real/DL1/20200218/v0.4.3_v00
# -c cfg/sequencer.cfg
# -p prov.log
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment