From dab347f42456a55a1b6f7c356511c883e1488f35 Mon Sep 17 00:00:00 2001 From: Ivan Shcheklein Date: Sat, 9 Feb 2019 18:54:54 -0800 Subject: [PATCH] fix few checks and messages in dvc run --- dvc/command/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dvc/command/run.py b/dvc/command/run.py index c60115721..a978b8daf 100644 --- a/dvc/command/run.py +++ b/dvc/command/run.py @@ -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