From 5406faf8fd6a82581e00e2b143fe399e5b464abc Mon Sep 17 00:00:00 2001 From: Will Page Date: Wed, 1 Feb 2023 15:23:28 -0800 Subject: [PATCH] Updating doc sources for new cargo option '-C' --- src/doc/man/includes/section-options-common.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/doc/man/includes/section-options-common.md b/src/doc/man/includes/section-options-common.md index 83b44fd83ed..db09f977fd0 100644 --- a/src/doc/man/includes/section-options-common.md +++ b/src/doc/man/includes/section-options-common.md @@ -16,6 +16,12 @@ or provided as a path to an extra configuration file. This flag may be specified See the [command-line overrides section](../reference/config.html#command-line-overrides) for more information. {{/option}} +{{#option "`-C` _PATH_"}} +Changes the current working directory before executing any specified operations. This affects +things like where cargo looks by default for the project manifest (`Cargo.toml`), as well as +the directories searched for discovering `.cargo/config.toml`, for example. +{{/option}} + {{#option "`-h`" "`--help`"}} Prints help information. {{/option}}