From 0c737fe5b76a6afebccc383236713bb6e55cc85f Mon Sep 17 00:00:00 2001 From: Leonardo Silva Date: Sat, 19 Oct 2019 16:23:37 +0200 Subject: [PATCH] improve command usage --- package.json | 2 +- src/cli.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 895c540..207b5ce 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/cli.js b/src/cli.js index 595e896..7305bb9 100644 --- a/src/cli.js +++ b/src/cli.js @@ -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);