X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fdoc%2Frustdoc%2Fsrc%2Fcommand-line-arguments.md;h=0302fbecb6ed09ca0ba63a2771cad70715c16a6d;hb=755b3fc722c36d9761bf49c246b5f7c85a62380d;hp=80f7851debfbd7a163d1e2e8f6bb667e1b499514;hpb=dc6121ca681e3aef09b93afb13637632dcdc0e9a;p=rust.git diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md index 80f7851debf..0302fbecb6e 100644 --- a/src/doc/rustdoc/src/command-line-arguments.md +++ b/src/doc/rustdoc/src/command-line-arguments.md @@ -422,3 +422,10 @@ $ rustdoc src/lib.rs --crate-version 1.3.37 When `rustdoc` receives this flag, it will print an extra "Version (version)" into the sidebar of the crate root's docs. You can use this flag to differentiate between different versions of your library's documentation. + +## `@path`: load command-line flags from a path + +If you specify `@path` on the command-line, then it will open `path` and read +command line options from it. These options are one per line; a blank line indicates +an empty option. The file can use Unix or Windows style line endings, and must be +encoded as UTF-8.