From 9cfb471e0340f61c5d0ef2ed3fda421ac2465029 Mon Sep 17 00:00:00 2001 From: Nolan Prescott Date: Sun, 5 Sep 2021 00:26:19 -0400 Subject: correct hg email flag the correct flag is `--flag` instead of the plural `--flags` --- hg.sr.ht/email.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hg.sr.ht/email.md') diff --git a/hg.sr.ht/email.md b/hg.sr.ht/email.md index af0e658..8835fa9 100644 --- a/hg.sr.ht/email.md +++ b/hg.sr.ht/email.md @@ -182,10 +182,10 @@ Some projects have several repositories being discussed on a single mailing list, and it's often helpful to specify the particular repository your patch pertains to. -If you're just doing this once, add `--flags` to `hg email`. You can specify it -multiple times if you also need to specify `--flags V2`. For instance: +If you're just doing this once, add `--flag` to `hg email`. You can specify it +multiple times if you also need to specify `--flag V2`. For instance: - hg email --flags 'example' -o + hg email --flag 'example' -o You can also specify this as the default for that mercurial repository by editing its config (`.hg/hgrc`): @@ -193,7 +193,7 @@ editing its config (`.hg/hgrc`): [patchbomb] flagtemplate = {separate(' ', 'example', flags)} -This will build a default `--flags` starting with "`example`" and followed by +This will build a default `--flag` starting with "`example`" and followed by any other value passed through the command-line. # For maintainers -- cgit