Merge pull request #1780 from pared/cmd_run_add_outs_persist_to_obligatory_fields

run: add --outs-persist and --outs-persist-no-cache to obligatory run args
This commit is contained in:
Paweł Redzyński
2019-03-25 17:16:30 +01:00
committed by GitHub
+5 -2
View File
@@ -18,12 +18,15 @@ class CmdRun(CmdBase):
self.args.outs_no_cache,
self.args.metrics,
self.args.metrics_no_cache,
self.args.outs_persist,
self.args.outs_persist_no_cache,
self.args.command,
]
): # pragma: no cover
logger.error(
"too few arguments. Specify at least one: '-d', "
"'-o', '-O', '-m', '-M', 'command'."
"too few arguments. Specify at least one: '-d', '-o', '-O',"
" '-m', '-M', '--outs-persist', '--outs-persist-no-cache',"
" 'command'."
)
return 1