Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo add documentation missing some flags #11237

Closed
ehuss opened this issue Oct 13, 2022 · 0 comments · Fixed by #11240
Closed

cargo add documentation missing some flags #11237

ehuss opened this issue Oct 13, 2022 · 0 comments · Fixed by #11240
Assignees
Labels
A-documenting-cargo-itself Area: Cargo's documentation Command-add E-easy Experience: Easy

Comments

@ehuss
Copy link
Contributor

ehuss commented Oct 13, 2022

There are a few flags missing from the documentation of cargo add:

  -p, --package <SPEC>        Package to modify
      --offline               Run without accessing the network
      --dry-run               Don't actually write the manifest

These should probably be added to those docs. I think --package and --offline have stock includes. There are instructions at https://github.com/rust-lang/cargo/tree/master/src/doc#building-the-man-pages to rebuild the documentation after modifying the linked file.

@ehuss ehuss added A-documenting-cargo-itself Area: Cargo's documentation E-easy Experience: Easy Command-add labels Oct 13, 2022
@epage epage self-assigned this Oct 14, 2022
bors added a commit that referenced this issue Oct 14, 2022
docs(add): Add missing flags to reference

Fixes #11237
@bors bors closed this as completed in 85c8f63 Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation Command-add E-easy Experience: Easy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants