hgext/releasenotes.py
changeset 44194 d4c1501225c4
parent 43898 023ad45e2fd2
child 45055 4c1b4805db57
--- a/hgext/releasenotes.py	Mon Jan 27 12:38:59 2020 -0800
+++ b/hgext/releasenotes.py	Mon Jan 27 09:14:19 2020 -0800
@@ -654,7 +654,7 @@
     opts = pycompat.byteskwargs(opts)
     sections = releasenotessections(ui, repo)
 
-    cmdutil.check_incompatible_arguments(opts, b'list', b'rev', b'check')
+    cmdutil.check_incompatible_arguments(opts, b'list', [b'rev', b'check'])
 
     if opts.get(b'list'):
         return _getadmonitionlist(ui, sections)