fix few checks and messages in dvc run

This commit is contained in:
Ivan Shcheklein
2019-02-09 18:54:54 -08:00
parent 3287c3f407
commit dab347f424
+3 -1
View File
@@ -17,12 +17,14 @@ class CmdRun(CmdBase):
self.args.deps,
self.args.outs,
self.args.outs_no_cache,
self.args.metrics,
self.args.metrics_no_cache,
self.args.command,
]
): # pragma: no cover
logger.error(
"too few arguments. Specify at least one: '-d', "
"'-o', '-O', 'command'."
"'-o', '-O', '-m', '-M', 'command'."
)
return 1