@@ -180,21 +180,21 @@ terminal.</li>
180180<a href =" ../reference/config.html " >config value</a >.</dd >
181181
182182
183-
184183</dl >
185184
186185### Manifest Options
187186
188187<dl >
189- <dt class =" option-term " id =" option-cargo---frozen " ><a class =" option-anchor " href =" #option-cargo---frozen " ></a ><code >--frozen</code ></dt >
190188<dt class =" option-term " id =" option-cargo---locked " ><a class =" option-anchor " href =" #option-cargo---locked " ></a ><code >--locked</code ></dt >
191- <dd class =" option-desc " >Either of these flags requires that the <code >Cargo.lock</code > file is
192- up-to-date. If the lock file is missing, or it needs to be updated, Cargo will
193- exit with an error. The <code >--frozen</code > flag also prevents Cargo from
194- attempting to access the network to determine if it is out-of-date.</p >
195- <p >These may be used in environments where you want to assert that the
196- <code >Cargo.lock</code > file is up-to-date (such as a CI build) or want to avoid network
197- access.</dd >
189+ <dd class =" option-desc " >Asserts that the exact same dependencies and versions are used as when the
190+ existing <code >Cargo.lock</code > file was originally generated. Cargo will exit with an
191+ error when either of the following scenarios arises:</p >
192+ <ul >
193+ <li >The lock file is missing.</li >
194+ <li >Cargo attempted to change the lock file due to a different dependency resolution.</li >
195+ </ul >
196+ <p >It may be used in environments where deterministic builds are desired,
197+ such as in CI pipelines.</dd >
198198
199199
200200<dt class =" option-term " id =" option-cargo---offline " ><a class =" option-anchor " href =" #option-cargo---offline " ></a ><code >--offline</code ></dt >
@@ -210,6 +210,9 @@ offline.</p>
210210<p >May also be specified with the <code >net.offline</code > <a href =" ../reference/config.html " >config value</a >.</dd >
211211
212212
213+ <dt class =" option-term " id =" option-cargo---frozen " ><a class =" option-anchor " href =" #option-cargo---frozen " ></a ><code >--frozen</code ></dt >
214+ <dd class =" option-desc " >Equivalent to specifying both <code >--locked</code > and <code >--offline</code >.</dd >
215+
213216</dl >
214217
215218### Common Options
@@ -252,19 +255,16 @@ requires the <code>-Z unstable-options</code> flag to enable (see
252255
253256</dl >
254257
255-
256258## ENVIRONMENT
257259
258260See [ the reference] ( ../reference/environment-variables.html ) for
259261details on environment variables that Cargo reads.
260262
261-
262263## EXIT STATUS
263264
264265* ` 0 ` : Cargo succeeded.
265266* ` 101 ` : Cargo failed to complete.
266267
267-
268268## FILES
269269
270270` ~/.cargo/ ` \
0 commit comments