Skip to content

Commit a1a75e8

Browse files
committed
Update cargo add --help testcase
1 parent fe5c0a3 commit a1a75e8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/testsuite/cargo_add/help/stdout.log

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ Options:
4242
--ignore-rust-version
4343
Ignore `rust-version` specification in packages (unstable)
4444

45+
--public
46+
Mark the dependency as public
47+
48+
The dependnecy will be visible in both of your crate and outside.
49+
50+
--no-public
51+
Mark the dependency as private
52+
53+
The dependnecy will be only visible in your crate other than outside.
54+
4555
-n, --dry-run
4656
Don't actually write the manifest
4757

0 commit comments

Comments
 (0)