diff --git a/README.md b/README.md index bdda8ace2..d3f638c5f 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ npm install liquidjs **CLI** ```bash -npx liquidjs 'Hello, {{ name }}!' --context '{"name": "Liquid"}' +npx liquidjs --template 'Hello, {{ name }}!' --context '{"name": "Liquid"}' ``` See the [setup guide][setup] for partials, layouts, caching, and other options. diff --git a/bin/liquid.js b/bin/liquid.js index 41d932037..ceb0fdfa0 100755 --- a/bin/liquid.js +++ b/bin/liquid.js @@ -14,7 +14,7 @@ async function render () { program .name('liquidjs') .description('Render a Liquid template') - .argument('