diff --git a/hgext/uncommit.py b/hgext/uncommit.py --- a/hgext/uncommit.py +++ b/hgext/uncommit.py @@ -109,7 +109,7 @@ return repo.commitctx(new) @command('uncommit', - [('', 'keep', None, _('allow an empty commit after uncommiting')), + [('', 'keep', None, _('allow an empty commit after uncommitting')), ('', 'allow-dirty-working-copy', False, _('allow uncommit with outstanding changes')), (b'n', b'note', b'', _(b'store a note on uncommit'), _(b'TEXT')) diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t --- a/tests/test-uncommit.t +++ b/tests/test-uncommit.t @@ -34,7 +34,7 @@ options ([+] can be repeated): - --keep allow an empty commit after uncommiting + --keep allow an empty commit after uncommitting --allow-dirty-working-copy allow uncommit with outstanding changes -n --note TEXT store a note on uncommit -I --include PATTERN [+] include names matching the given patterns