From 506392703b402858916d64961ffae33d02f6796e Mon Sep 17 00:00:00 2001 From: Evan Mesterhazy Date: Fri, 5 Apr 2024 14:59:41 -0400 Subject: [PATCH] Make a minor formatting change to the help page for `jj parallelize` Per discussion on another PR, we're going to avoid ALL CAPS for argument names in the documentation even though Clap uses that style for the `--help` output. - https://github.com/martinvonz/jj/pull/3453#discussion_r1554169975 --- cli/src/commands/parallelize.rs | 2 +- cli/tests/cli-reference@.md.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/commands/parallelize.rs b/cli/src/commands/parallelize.rs index c6dd7fe65..fd6cdf1dd 100644 --- a/cli/src/commands/parallelize.rs +++ b/cli/src/commands/parallelize.rs @@ -46,7 +46,7 @@ use crate::ui::Ui; /// the target revset (not to be confused with the repo root). The children of /// the head(s) of the target revset are rebased onto the target revisions. /// -/// The target revset is the union of the REVISIONS arguments and must satisfy +/// The target revset is the union of the `revisions` arguments and must satisfy /// several conditions, otherwise the command will fail. /// /// 1. The heads of the target revset must have either the same children as the diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index 9466e5560..27b03d61d 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -1366,7 +1366,7 @@ Each of the target revisions is rebased onto the parents of the root(s) of the target revset (not to be confused with the repo root). The children of the head(s) of the target revset are rebased onto the target revisions. -The target revset is the union of the REVISIONS arguments and must satisfy +The target revset is the union of the `revisions` arguments and must satisfy several conditions, otherwise the command will fail. 1. The heads of the target revset must have either the same children as the