diff --git a/content/docs/command-reference/import.md b/content/docs/command-reference/import.md index 3f9d9f7a6b..181479ec60 100644 --- a/content/docs/command-reference/import.md +++ b/content/docs/command-reference/import.md @@ -10,7 +10,9 @@ the import. ## Synopsis ```usage -usage: dvc import [-h] [-q | -v] [-o ] [--rev ] url path +usage: dvc import [-h] [-q | -v] + [-o ] [--file ] [--rev ] + url path positional arguments: url Location of DVC or Git repository to download from @@ -86,6 +88,11 @@ repo at `url`) are not supported. current working directory). Directories specified in the path must already exist, otherwise this command will fail. +- `--file ` - specify a path and/or file name for the `.dvc` file + created by this command (e.g. `--file stages/stage.dvc`). This overrides the + default file name: `.dvc`, where `` is the desired file name of + the imported data (`out`). + - `--rev ` - commit hash, branch or tag name, etc. (any [Git revision](https://git-scm.com/docs/revisions)) of the repository to download the file or directory from. The latest commit in `master` (tip of the