davidnussio / vscode-jq-playground

Visual Code Studio jq playground
https://marketplace.visualstudio.com/items?itemName=davidnussio.vscode-jq-playground
MIT License
46 stars 8 forks source link

Arguments inline option not working #26

Closed moinessim closed 4 years ago

moinessim commented 4 years ago
Command line:
echo '{}' | jq --arg var val '.value = $var'

{ "value": "val"}

Playground:
jq --arg var val '.value = $var'
{}

[ERROR] - /.../.vscode/extensions/davidnussio.vscode-jq-playground-2.1.1/bin/jq: --arg takes two parameters (e.g. --arg varname value) Use /.../.vscode/extensions/davidnussio.vscode-jq-playground-2.1.1/bin/jq --help for help with command-line options, [ERROR] - or see the jq manpage, or online docs at https://stedolan.github.io/jq

davidnussio commented 4 years ago

2020-04-26_21-22

It is going to be released with the next update