--- a/tests/test-releasenotes-formatting.t Tue Sep 26 03:56:20 2017 -0700
+++ b/tests/test-releasenotes-formatting.t Thu Sep 28 13:22:58 2017 +0530
@@ -420,3 +420,17 @@
fix: Bug Fixes
perf: Performance Improvements
api: API Changes
+
+ $ cd ..
+
+Raise error on simultaneous usage of flags
+
+ $ hg init relnotes-raise-error
+ $ cd relnotes-raise-error
+ $ hg releasenotes -r . -l
+ abort: cannot use both '--list' and '--rev'
+ [255]
+
+ $ hg releasenotes -l -c
+ abort: cannot use both '--list' and '--check'
+ [255]