Skip to content

Commit

Permalink
git fetch: capitalize <REMOTE> in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Oct 24, 2024
1 parent 5a8d5f9 commit db7fb72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/git/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub struct GitFetchArgs {
branch: Vec<StringPattern>,
/// 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<String>,
/// Fetch from all remotes
#[arg(long, conflicts_with = "remotes")]
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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 <remote>` — The remote to fetch from (only named remotes are supported, can be repeated)
* `--remote <REMOTE>` — The remote to fetch from (only named remotes are supported, can be repeated)
* `--all-remotes` — Fetch from all remotes
Expand Down

0 comments on commit db7fb72

Please sign in to comment.