From 747dee508e3e6c4eadc3ac80f6575505d9fab297 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 c6dd7fe656..fd6cdf1ddf 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 da216abbb1..b79df0a56e 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