mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-22 15:28:27 +01:00
fix few checks and messages in dvc run
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user