Skip to content

Commit 0ba8f7d

Browse files
committed
commit: update help text for --edit
Suggested-by: Jonas Stein <jstein@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 14e9520 commit 0ba8f7d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/pkgdev/scripts/pkgdev_commit.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,8 @@ def __call__(self, parser, namespace, value, option_string=None):
167167
'-e', '--edit', action='store_true',
168168
help='force edit of commit',
169169
docs="""
170-
The message taken from command line with -m, and from automatically
171-
generated one are usually used as the commit log message unmodified.
172-
This option lets you further edit the message taken from these sources.
170+
This option will ask git to open the commit message in an editor before
171+
commit. The git configuration is used to select the editor.
173172
""")
174173

175174
add_actions = commit_opts.add_mutually_exclusive_group()

0 commit comments

Comments
 (0)