aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-01-13 23:37:47 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-01-13 23:37:47 +0200
commit0ba8f7d35582638fcc2b6d457a2e46702b8d9ca6 (patch)
tree92ac55f0daba9bae7bc5a79eb69f2243be6d450c
parentcommit: use same summary for multiple ebuilds (diff)
downloadpkgdev-0ba8f7d35582638fcc2b6d457a2e46702b8d9ca6.tar.gz
pkgdev-0ba8f7d35582638fcc2b6d457a2e46702b8d9ca6.tar.bz2
pkgdev-0ba8f7d35582638fcc2b6d457a2e46702b8d9ca6.zip
commit: update help text for `--edit`
Suggested-by: Jonas Stein <jstein@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--src/pkgdev/scripts/pkgdev_commit.py5
1 files 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()