Skip to content

Commit

Permalink
Fix usage help message
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Jan 28, 2020
1 parent d3fd11e commit 005de77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const RED = {
console.error(ex);
}
console.error('Invalid argument for Node-RED module! Check package.json');
console.error('Usage: node ./index.js node-type --firstProperty="Hello World"');
console.error('Usage: node ./index.js node-name --firstProperty=\'{"Some":"JSON"}\' --secondProperty=\'"Some text"\' --thirdProperty=\'123\'');
return false;
},

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-mock-cli",
"version": "1.0.6",
"version": "1.0.7",
"description": "Allows running Node-RED modules from command-line.",
"main": "index.js",
"readmeFilename": "readme.md",
Expand All @@ -25,7 +25,7 @@
"url": "https://github.com/alexandrainst/node-red-contrib-mock-cli.git"
},
"devDependencies": {
"jshint": "^2.10.3"
"jshint": "^2.11.0"
},
"jshintConfig": {
"esversion": 8,
Expand Down

0 comments on commit 005de77

Please sign in to comment.