From 6f8e138ca459be83d1102dcbf2000c6d48f03985 Mon Sep 17 00:00:00 2001 From: mde Date: Sun, 26 Apr 2020 21:59:42 -0700 Subject: [PATCH] But put them in the right place --- README.md | 3 ++- usage.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 90550fe9..43f8407f 100644 --- a/README.md +++ b/README.md @@ -275,6 +275,8 @@ Here are some examples of usage: ```shell $ ejs -p [ -c ] ./template_file.ejs -o ./output.html +$ ejs ./test/fixtures/user.ejs name=Lerxst +$ ejs -n -l _ ./some_template.ejs -f ./data_file.json ``` ### Data input @@ -292,7 +294,6 @@ A data file: ```shell $ ejs ./test/fixtures/user.ejs -f ./user_data.json -$ ejs -p [ -c ] ./template_file.ejs -o ./output.html ``` A command-line option (must be URI-encoded): diff --git a/usage.txt b/usage.txt index 788fce4a..7469f7f3 100644 --- a/usage.txt +++ b/usage.txt @@ -18,7 +18,7 @@ EJS Embedded JavaScript templates {Examples}: ejs -m $ ./test/fixtures/user.ejs -f ./user_data.json - ejs -m $ ./test/fixtures/user.ejs name=Juan + ejs -m $ ./test/fixtures/user.ejs name=Lerxst ejs -p [ -c ] ./template_file.ejs -o ./output.html ejs -n -l _ ./some_template.ejs -f ./data_file.json ejs -w ./template_with_whitspace.ejs -o ./output_file.html