summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-05-26 07:40:21 +0200
committerGitHub <noreply@github.com>2021-05-26 07:40:21 +0200
commitdaef8b35f421c5481116c27fa5132881549a76a6 (patch)
tree02084ca6771d425cef509d0a5504a5591dcdb7fd /tests
parentc706eb101934ec05a1aa0fa75ab79f8b1ba405e8 (diff)
parent9874562545d93582a75bc2e6d58fc772e981a3ba (diff)
Merge pull request #14 from jow-/refactor
Refactoring & raw code mode support
Diffstat (limited to 'tests')
-rw-r--r--tests/cram/test_basic.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cram/test_basic.t b/tests/cram/test_basic.t
index 3d4cd9e..aab5b16 100644
--- a/tests/cram/test_basic.t
+++ b/tests/cram/test_basic.t
@@ -12,7 +12,7 @@ check that ucode provides exepected help:
$ ucode | sed 's/ucode-san/ucode/'
== Usage ==
- # ucode [-d] [-l] [-r] [-S] [-e '[prefix=]{"var": ...}'] [-E [prefix=]env.json] {-i <file> | -s "ucode script..."}
+ # ucode [-d] [-l] [-r] [-S] [-R] [-e '[prefix=]{"var": ...}'] [-E [prefix=]env.json] {-i <file> | -s "ucode script..."}
-h, --help\tPrint this help (esc)
-i file\tSpecify an ucode script to parse (esc)
-s "ucode script..."\tSpecify an ucode fragment to parse (esc)
@@ -20,6 +20,7 @@ check that ucode provides exepected help:
-l Do not strip leading block whitespace
-r Do not trim trailing block newlines
-S Enable strict mode
+ -R Enable raw code mode
-e Set global variables from given JSON object
-E Set global variables from given JSON file
-m Preload given module