contracts: change the contract syntax
[nit.git] / tests / sav / test_parser.res
index 6b348ae..1e84d63 100644 (file)
@@ -1,7 +1,12 @@
 usage:
   test_parser [options]... <filename.nit>...
+  test_parser -e [options]... <text>...
+  test_parser -i [options]...
 options:
   -n   do not print anything
   -l   only lexer
   -p   lexer and parser (default)
+  -x   instead of a ascii tree, output a XML document
+  -e   instead on files, each argument is a content to parse
+  -i   tree to parse are read interactively
   -h   print this help