summaryrefslogtreecommitdiff
path: root/tests/parser/test-006.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-11-08 10:08:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-11-08 10:08:52 +0200
commit907b5fed58d53bbb5e25c590df97f01a0ac93733 (patch)
treeed0be81e05cdcacac39879ed71f40cedc9f81a92 /tests/parser/test-006.cli
parent2e8197d1e910eeae607af3a1f581b212402c0caf (diff)
Implement option documentation support in frontend
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."
+ };
+};