diff options
author | Nolan Prescott <mail@nprescott.com> | 2021-09-05 00:26:19 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-09-05 08:01:12 +0200 |
commit | 9cfb471e0340f61c5d0ef2ed3fda421ac2465029 (patch) | |
tree | 9310cb8193f88267560372324c319628d89d9adb /hg.sr.ht/email.md | |
parent | b5b0b0a313cf6b5b44c67703afa36cafaa6a2c14 (diff) | |
download | sr.ht-docs-9cfb471e0340f61c5d0ef2ed3fda421ac2465029.tar.gz |
correct hg email flag
the correct flag is `--flag` instead of the plural `--flags`
Diffstat (limited to 'hg.sr.ht/email.md')
-rw-r--r-- | hg.sr.ht/email.md | 8 |
1 files changed, 4 insertions, 4 deletions
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 |