Skip to content
Snippets Groups Projects

update_mdc: make --really a flag

Merged Thomas Kluyver requested to merge feat/really-flag into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -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:
Loading