summaryrefslogtreecommitdiff
path: root/tests/parser/test-006.cli
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser/test-006.cli')
-rw-r--r--tests/parser/test-006.cli16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/parser/test-006.cli b/tests/parser/test-006.cli
new file mode 100644
index 0000000..5b555e4
--- /dev/null
+++ b/tests/parser/test-006.cli
@@ -0,0 +1,16 @@
+// option-doc
+//
+class c
+{
+ bool --help | -h {"Help me"};
+
+ int --comp = 5
+ {
+ "<level>",
+ "Set compression level",
+ "Set compression level to <level>.
+
+ The minimum value for this options is 0 and
+ maximum is 9."
+ };
+};