Skip to content

Commit 2c287a7

Browse files
committed
commit: enable -e usage with -M or -m
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent ba36d58 commit 2c287a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pkgdev/scripts/pkgdev_commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __call__(self, parser, namespace, value, option_string=None):
163163
""")
164164
msg_actions.add_argument('-F', '--file', help=argparse.SUPPRESS)
165165
msg_actions.add_argument('-t', '--template', help=argparse.SUPPRESS)
166-
msg_actions.add_argument(
166+
commit_opts.add_argument(
167167
'-e', '--edit', action='store_true',
168168
help='force edit of commit',
169169
docs="""

0 commit comments

Comments
 (0)