From 5778dd5905495ce2db4b02147e80ebe2448a57a8 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 7 Nov 2023 08:30:47 -0800 Subject: [PATCH] Fix some broken links in the man pages --- src/doc/man/cargo-add.md | 2 +- src/doc/man/cargo-install.md | 2 +- src/doc/man/generated_txt/cargo-add.txt | 4 ++-- src/doc/man/generated_txt/cargo-install.txt | 2 +- src/doc/src/commands/cargo-add.md | 2 +- src/doc/src/commands/cargo-install.md | 2 +- src/etc/man/cargo-add.1 | 2 +- src/etc/man/cargo-install.1 | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/doc/man/cargo-add.md b/src/doc/man/cargo-add.md index 21c222a398b..d3a62900a06 100644 --- a/src/doc/man/cargo-add.md +++ b/src/doc/man/cargo-add.md @@ -35,7 +35,7 @@ When you add a package that is already present, the existing entry will be updat Upon successful invocation, the enabled (`+`) and disabled (`-`) [features] of the specified dependency will be listed in the command's output. -[features]: ../reference/features.md +[features]: ../reference/features.html ## OPTIONS diff --git a/src/doc/man/cargo-install.md b/src/doc/man/cargo-install.md index 5431bdb7929..8c520db0a90 100644 --- a/src/doc/man/cargo-install.md +++ b/src/doc/man/cargo-install.md @@ -90,7 +90,7 @@ will be used, beginning discovery at `$PATH/.cargo/config.toml`. {{#option "`--vers` _version_" "`--version` _version_" }} Specify a version to install. This may be a [version -requirement](../reference/specifying-dependencies.md), like `~1.2`, to have Cargo +requirement](../reference/specifying-dependencies.html), like `~1.2`, to have Cargo select the newest version from the given requirement. If the version does not have a requirement operator (such as `^` or `~`), then it must be in the form _MAJOR.MINOR.PATCH_, and will install exactly that version; it is *not* diff --git a/src/doc/man/generated_txt/cargo-add.txt b/src/doc/man/generated_txt/cargo-add.txt index 6447499dc04..3bd4bd5aa91 100644 --- a/src/doc/man/generated_txt/cargo-add.txt +++ b/src/doc/man/generated_txt/cargo-add.txt @@ -33,8 +33,8 @@ DESCRIPTION be updated with the flags specified. Upon successful invocation, the enabled (+) and disabled (-) features - of the specified - dependency will be listed in the command’s output. + of the + specified dependency will be listed in the command’s output. OPTIONS Source options diff --git a/src/doc/man/generated_txt/cargo-install.txt b/src/doc/man/generated_txt/cargo-install.txt index bd2cc9c72c6..0b4aece70c1 100644 --- a/src/doc/man/generated_txt/cargo-install.txt +++ b/src/doc/man/generated_txt/cargo-install.txt @@ -94,7 +94,7 @@ OPTIONS Install Options --vers version, --version version Specify a version to install. This may be a version requirement - , + , like ~1.2, to have Cargo select the newest version from the given requirement. If the version does not have a requirement operator (such as ^ or ~), then it must be in the form MAJOR.MINOR.PATCH, and diff --git a/src/doc/src/commands/cargo-add.md b/src/doc/src/commands/cargo-add.md index 03485e12167..1751114954a 100644 --- a/src/doc/src/commands/cargo-add.md +++ b/src/doc/src/commands/cargo-add.md @@ -32,7 +32,7 @@ When you add a package that is already present, the existing entry will be updat Upon successful invocation, the enabled (`+`) and disabled (`-`) [features] of the specified dependency will be listed in the command's output. -[features]: ../reference/features.md +[features]: ../reference/features.html ## OPTIONS diff --git a/src/doc/src/commands/cargo-install.md b/src/doc/src/commands/cargo-install.md index e289c41f3ba..db0ff10dbd0 100644 --- a/src/doc/src/commands/cargo-install.md +++ b/src/doc/src/commands/cargo-install.md @@ -94,7 +94,7 @@ will be used, beginning discovery at `$PATH/.cargo/config.toml`.
--vers version
--version version
-
Specify a version to install. This may be a version +
Specify a version to install. This may be a version requirement, like ~1.2, to have Cargo select the newest version from the given requirement. If the version does not have a requirement operator (such as ^ or ~), then it must be in the form diff --git a/src/etc/man/cargo-add.1 b/src/etc/man/cargo-add.1 index f69e6d0db2f..4e8b685667d 100644 --- a/src/etc/man/cargo-add.1 +++ b/src/etc/man/cargo-add.1 @@ -44,7 +44,7 @@ If no source is specified, then a best effort will be made to select one, includ .sp When you add a package that is already present, the existing entry will be updated with the flags specified. .sp -Upon successful invocation, the enabled (\fB+\fR) and disabled (\fB\-\fR) \fIfeatures\fR of the specified +Upon successful invocation, the enabled (\fB+\fR) and disabled (\fB\-\fR) \fIfeatures\fR of the specified dependency will be listed in the command\[cq]s output. .SH "OPTIONS" .SS "Source options" diff --git a/src/etc/man/cargo-install.1 b/src/etc/man/cargo-install.1 index 06ad68a3abd..d4d4d3eb61d 100644 --- a/src/etc/man/cargo-install.1 +++ b/src/etc/man/cargo-install.1 @@ -114,7 +114,7 @@ will be used, beginning discovery at \fB$PATH/.cargo/config.toml\fR\&. \fB\-\-version\fR \fIversion\fR .RS 4 Specify a version to install. This may be a \fIversion -requirement\fR , like \fB~1.2\fR, to have Cargo +requirement\fR , like \fB~1.2\fR, to have Cargo select the newest version from the given requirement. If the version does not have a requirement operator (such as \fB^\fR or \fB~\fR), then it must be in the form \fIMAJOR.MINOR.PATCH\fR, and will install exactly that version; it is \fInot\fR