Skip to content

Commit 30d5228

Browse files
committed
zsh: Add doc options to include non-public items documentation
1 parent 29b000f commit 30d5228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/etc/_cargo

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ case $state in
106106
'--manifest-path=[path to manifest]: :_files -/' \
107107
'--no-deps[do not build docs for dependencies]' \
108108
'--no-default-features[do not build the default features]' \
109+
'--document-private-items[include non-public items in the documentation]' \
109110
'--open[open docs in browser after the build]' \
110111
'(-p, --package)'{-p,--package}'=[package to document]' \
111112
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
@@ -321,6 +322,7 @@ case $state in
321322
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
322323
'--manifest-path=[path to the manifest to document]: :_files -/' \
323324
'--no-default-features[do not build the `default` feature]' \
325+
'--document-private-items[include non-public items in the documentation]' \
324326
'--open[open the docs in a browser after the operation]' \
325327
'(-p, --package)'{-p,--package}'=[package to document]' \
326328
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \

0 commit comments

Comments
 (0)