diff --git a/README.md b/README.md index 16affc679..bdda8ace2 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,6 @@ npm install liquidjs ```bash npx liquidjs 'Hello, {{ name }}!' --context '{"name": "Liquid"}' -# or: 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 964f8515b..03e534a39 100755 --- a/bin/liquid.js +++ b/bin/liquid.js @@ -14,8 +14,7 @@ async function render () { program .name('liquidjs') .description('Render a Liquid template') - .argument('[template]', 'liquid template to render (inline, @path, or @- for stdin)') - .option('-t, --template ', 'liquid template to render (inline, @path, or @- for stdin)') + .argument('