commit: 0ba8f7d35582638fcc2b6d457a2e46702b8d9ca6
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 21:37:47 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 21:37:47 2023 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=0ba8f7d3
commit: update help text for `--edit`
Suggested-by: Jonas Stein <jstein <AT> gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgdev/scripts/pkgdev_commit.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/pkgdev/scripts/pkgdev_commit.py
b/src/pkgdev/scripts/pkgdev_commit.py
index 1373b35..162a8f7 100644
--- a/src/pkgdev/scripts/pkgdev_commit.py
+++ b/src/pkgdev/scripts/pkgdev_commit.py
@@ -167,9 +167,8 @@ commit_opts.add_argument(
'-e', '--edit', action='store_true',
help='force edit of commit',
docs="""
- The message taken from command line with -m, and from automatically
- generated one are usually used as the commit log message unmodified.
- This option lets you further edit the message taken from these sources.
+ This option will ask git to open the commit message in an editor before
+ commit. The git configuration is used to select the editor.
""")
add_actions = commit_opts.add_mutually_exclusive_group()