Skip to content
Snippets Groups Projects
Commit 8a5086bd authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Merge branch 'feat/really-flag' into 'master'

update_mdc: make --really a flag

See merge request detectors/pycalibration!797
parents a1d17861 247a1ac6
No related branches found
No related tags found
1 merge request!797update_mdc: make --really a flag
...@@ -27,7 +27,8 @@ parser.add_argument('--runs', type=parse_int_range, ...@@ -27,7 +27,8 @@ parser.add_argument('--runs', type=parse_int_range,
parser.add_argument('--rid', type=int, help='Run id from MDC') parser.add_argument('--rid', type=int, help='Run id from MDC')
parser.add_argument('--msg', type=str, help='Message string to MDC', parser.add_argument('--msg', type=str, help='Message string to MDC',
default='Error while job submission') default='Error while job submission')
parser.add_argument('--really', help="Actually make changes (otherwise dry-run)") parser.add_argument('--really', action='store_true',
help="Actually make changes (otherwise dry-run)")
args = parser.parse_args() args = parser.parse_args()
if args.conf_file is not None: if args.conf_file is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment