[Updated] D8607: help: explain in `hg help flags` that unambiguous prefixes are allowed
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Tue Jun 9 10:09:39 UTC 2020
Closed by commit rHG33ef8841da62: help: explain in `hg help flags` that unambiguous prefixes are allowed (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8607?vs=21550&id=21574
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8607/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8607
AFFECTED FILES
mercurial/helptext/flags.txt
CHANGE DETAILS
diff --git a/mercurial/helptext/flags.txt b/mercurial/helptext/flags.txt
--- a/mercurial/helptext/flags.txt
+++ b/mercurial/helptext/flags.txt
@@ -10,7 +10,9 @@
Every flag has at least a long name, such as --repository. Some flags may also
have a short one-letter name, such as the equivalent -R. Using the short or long
-name is equivalent and has the same effect.
+name is equivalent and has the same effect. The long name may be abbreviated to
+any unambiguous prefix. For example, :hg:`commit --amend` can be abbreviated
+to :hg:`commit --am`.
Flags that have a short name can also be bundled together - for instance, to
specify both --edit (short -e) and --interactive (short -i), one could use::
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200609/cadc6e91/attachment-0002.html>
More information about the Mercurial-patches
mailing list