Skip to content

Commit

Permalink
improve command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
leosilvadev committed Oct 19, 2019
1 parent 0f4da5b commit 0c737fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@leosilvadev/avrodoc-plus",
"description": "Documentation tool for Avro schemas. Forked from https://github.com/ckatzorke/avrodoc.",
"version": "0.5.0",
"version": "0.5.1",
"author": "Leonardo Silva https://github.com/leosilvadev",
"bin": "./bin/avrodoc-plus",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const extra_less_files = argv.style ? [argv.style] : [];

//valid input?
if (!inputFiles || inputFiles.length === 0 || outputFile === null) {
sys.error('Usage: avrodoc [-i rootfolder] [my-schema.avsc [another-schema.avsc...]] [-o=my-documentation.html]');
sys.error('Usage: avrodoc [-i rootfolder] [my-schema.avsc [another-schema.avsc...]] [-o=my-documentation.html] [-s=my-style.less]');
process.exit(1);
}
avrodoc.createAvroDoc(extra_less_files, inputFiles, outputFile);
Expand Down

0 comments on commit 0c737fe

Please sign in to comment.