From db7fb726bae52080b26ab1ba78a6f7e42e8d97ca Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 24 Oct 2024 18:14:17 +0200 Subject: [PATCH] git fetch: capitalize in help message --- cli/src/commands/git/fetch.rs | 2 +- cli/tests/cli-reference@.md.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/commands/git/fetch.rs b/cli/src/commands/git/fetch.rs index 7f5c7389ce..8413895072 100644 --- a/cli/src/commands/git/fetch.rs +++ b/cli/src/commands/git/fetch.rs @@ -46,7 +46,7 @@ pub struct GitFetchArgs { branch: Vec, /// The remote to fetch from (only named remotes are supported, can be /// repeated) - #[arg(long = "remote", value_name = "remote")] + #[arg(long = "remote", value_name = "REMOTE")] remotes: Vec, /// Fetch from all remotes #[arg(long, conflicts_with = "remotes")] diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index 9aa4c24e00..4b629ae093 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -1031,7 +1031,7 @@ If a working-copy commit gets abandoned, it will be given a new, empty commit. T By default, the specified name matches exactly. Use `glob:` prefix to expand `*` as a glob. The other wildcard characters aren't supported. Default value: `glob:*` -* `--remote ` — The remote to fetch from (only named remotes are supported, can be repeated) +* `--remote ` — The remote to fetch from (only named remotes are supported, can be repeated) * `--all-remotes` — Fetch from all remotes