~sircmpwn/sr.ht-dev

sr.ht-docs: correct hg email flag v1 APPLIED

Nolan Prescott: 1
 correct hg email flag

 1 files changed, 4 insertions(+), 4 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/24997/mbox | git am -3
Learn more about email & git

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

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
Thanks!

To git@git.sr.ht:~sircmpwn/sr.ht-docs
   9cfb471..b5b0b0a  master -> master