Skip to content

Commit

Permalink
fix few checks and messages in dvc run
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Feb 10, 2019
1 parent 3287c3f commit dab347f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dvc/command/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ def run(self):
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

Expand Down

0 comments on commit dab347f

Please sign in to comment.