diff --git a/dvc/command/run.py b/dvc/command/run.py index 2ed9e6862..1c9185a5f 100644 --- a/dvc/command/run.py +++ b/dvc/command/run.py @@ -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