Skip to content

Commit c25dcf0

Browse files
committed
doc: add docs for lockfile-path
1 parent b05373d commit c25dcf0

File tree

107 files changed

+1175
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1175
-214
lines changed

src/doc/man/cargo-add.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ Add dependencies to only the specified package.
160160
{{> options-ignore-rust-version }}
161161

162162
{{> options-locked }}
163+
164+
{{> options-lockfile-path }}
163165
{{/options}}
164166

165167
{{> section-options-common }}

src/doc/man/cargo-bench.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ passing `--nocapture` to the benchmark binaries:
146146
{{> options-ignore-rust-version }}
147147

148148
{{> options-locked }}
149+
150+
{{> options-lockfile-path }}
149151
{{/options}}
150152

151153
{{> section-options-common }}

src/doc/man/cargo-build.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ See <https://github.com/rust-lang/cargo/issues/5579> for more information.
8787
{{> options-ignore-rust-version }}
8888

8989
{{> options-locked }}
90+
91+
{{> options-lockfile-path }}
9092
{{/options}}
9193

9294
{{> section-options-common }}

src/doc/man/cargo-check.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ they have `required-features` that are missing.
7070
{{> options-ignore-rust-version }}
7171

7272
{{> options-locked }}
73+
74+
{{> options-lockfile-path }}
7375
{{/options}}
7476

7577
{{> section-options-common }}

src/doc/man/cargo-clean.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ Remove all artifacts in the directory with the given profile name.
7272
{{> options-manifest-path }}
7373

7474
{{> options-locked }}
75+
76+
{{> options-lockfile-path }}
7577
{{/options}}
7678

7779
{{> section-options-common }}

src/doc/man/cargo-doc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ and supports common Unix glob patterns.
104104
{{> options-ignore-rust-version }}
105105

106106
{{> options-locked }}
107+
108+
{{> options-lockfile-path }}
107109
{{/options}}
108110

109111
{{> section-options-common }}

src/doc/man/cargo-fetch.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ you plan to use Cargo without a network with the `--offline` flag.
4848
{{> options-manifest-path }}
4949

5050
{{> options-locked }}
51+
52+
{{> options-lockfile-path }}
5153
{{/options}}
5254

5355
{{> section-options-common }}

src/doc/man/cargo-fix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ When no target selection options are given, `cargo fix` will fix all targets
150150
{{> options-ignore-rust-version }}
151151

152152
{{> options-locked }}
153+
154+
{{> options-lockfile-path }}
153155
{{/options}}
154156

155157
{{> section-options-common }}

src/doc/man/cargo-generate-lockfile.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ lockfile and has more options for controlling update behavior.
3333
{{> options-ignore-rust-version }}
3434

3535
{{> options-locked }}
36+
37+
{{> options-lockfile-path }}
3638
{{/options}}
3739

3840
{{> section-options-common }}

src/doc/man/cargo-metadata.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ reproduction of the information within `Cargo.toml`.
378378
{{> options-manifest-path }}
379379
380380
{{> options-locked }}
381+
382+
{{> options-lockfile-path }}
381383
{{/options}}
382384
383385
{{> section-options-common }}

0 commit comments

Comments
 (0)