aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-01-13 23:05:35 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-01-13 23:05:35 +0200
commit2c287a73c58daec216f1a79eb70140ae5e2bfb9e (patch)
tree92b1dcc2a05cd97828c28b21827147eccfb4b8b5
parentdocs: reorganize main toc (diff)
downloadpkgdev-2c287a73c58daec216f1a79eb70140ae5e2bfb9e.tar.gz
pkgdev-2c287a73c58daec216f1a79eb70140ae5e2bfb9e.tar.bz2
pkgdev-2c287a73c58daec216f1a79eb70140ae5e2bfb9e.zip
commit: enable -e usage with -M or -m
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--src/pkgdev/scripts/pkgdev_commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgdev/scripts/pkgdev_commit.py b/src/pkgdev/scripts/pkgdev_commit.py
index 98f09d1..03dfdb6 100644
--- a/src/pkgdev/scripts/pkgdev_commit.py
+++ b/src/pkgdev/scripts/pkgdev_commit.py
@@ -163,7 +163,7 @@ msg_actions.add_argument(
""")
msg_actions.add_argument('-F', '--file', help=argparse.SUPPRESS)
msg_actions.add_argument('-t', '--template', help=argparse.SUPPRESS)
-msg_actions.add_argument(
+commit_opts.add_argument(
'-e', '--edit', action='store_true',
help='force edit of commit',
docs="""