Skip to content

Commit 4395a51

Browse files
authored
Remove --no-cache (#49029)
It's been replaced by --no-http-cache and we shouldn't be documented it anymore as we want people to use `--no-http-cache`
1 parent 200895f commit 4395a51

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/core/tools/dotnet-restore.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dotnet restore [<PROJECT>|<SOLUTION>|<FILE>]
1818
[-a|--arch <ARCHITECTURE>] [--configfile <FILE>] [--disable-build-servers]
1919
[--disable-parallel] [-f|--force] [--force-evaluate]
2020
[--ignore-failed-sources] [--interactive] [--lock-file-path <LOCK_FILE_PATH>]
21-
[--locked-mode] [--no-cache] [--no-dependencies] [--no-http-cache]
21+
[--locked-mode] [--no-dependencies] [--no-http-cache]
2222
[--os <OS>] [--packages <PACKAGES_DIRECTORY>]
2323
[-r|--runtime <RUNTIME_IDENTIFIER>] [-s|--source <SOURCE>]
2424
[--tl:[auto|on|off]] [--ucr|--use-current-runtime] [--use-lock-file]
@@ -123,10 +123,6 @@ There are three specific settings that `dotnet restore` ignores:
123123

124124
Don't allow updating project lock file.
125125

126-
- **`--no-cache`**
127-
128-
Specifies to not cache HTTP requests.
129-
130126
- **`--no-dependencies`**
131127

132128
When restoring a project with project-to-project (P2P) references, restores the root project and not the references.

0 commit comments

Comments
 (0)