~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH sr.ht-docs] correct hg email flag

Details
Message ID
<d8eb87ff9504d9b0b7a0.1630815979@freefall>
DKIM signature
missing
Download raw message
Patch: +4 -4
the correct flag is `--flag` instead of the plural `--flags`

diff --git a/hg.sr.ht/email.md b/hg.sr.ht/email.md
--- a/hg.sr.ht/email.md
+++ b/hg.sr.ht/email.md
@@ -182,10 +182,10 @@ Some projects have several repositories 
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
Details
Message ID
<CE1Q1B6V1QJX.SNX3E8FSKD57@taiga>
In-Reply-To
<d8eb87ff9504d9b0b7a0.1630815979@freefall> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/sr.ht-docs
   9cfb471..b5b0b0a  master -> master
Reply to thread Export thread (mbox)