Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 21952:3838b910fa6b stable
doc: unify help text for "--edit" option
This patch changes help text for "--edit" option of commands below:
- fetch
- qnew
- qrefresh
- qfold
- commit
- tag
This unification reduces translation cost, too.
This patch chooses not "further edit commit message already specified"
(of "hg commit") but "invoke editor on commit messages" as unified
help text for "--edit" option, because the latter is much older than
the former.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 30 Jul 2014 00:14:52 +0900 |
parents | 59af0b21ec31 |
children | 2122b82b6987 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Jul 30 00:13:59 2014 +0900 +++ b/mercurial/commands.py Wed Jul 30 00:14:52 2014 +0900 @@ -1339,8 +1339,7 @@ _('mark a branch as closed, hiding it from the branch list')), ('', 'amend', None, _('amend the parent of the working dir')), ('s', 'secret', None, _('use the secret phase for committing')), - ('e', 'edit', None, - _('further edit commit message already specified')), + ('e', 'edit', None, _('invoke editor on commit messages')), ] + walkopts + commitopts + commitopts2 + subrepoopts, _('[OPTION]... [FILE]...'), inferrepo=True) @@ -5695,7 +5694,7 @@ ('r', 'rev', '', _('revision to tag'), _('REV')), ('', 'remove', None, _('remove a tag')), # -l/--local is already there, commitopts cannot be used - ('e', 'edit', None, _('edit commit message')), + ('e', 'edit', None, _('invoke editor on commit messages')), ('m', 'message', '', _('use text as commit message'), _('TEXT')), ] + commitopts2, _('[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...'))