From 29989a05900f3766f1b44005903a6f24fdb11573 Mon Sep 17 00:00:00 2001 From: duaraghav8 Date: Sun, 10 Jun 2018 13:02:43 +0530 Subject: [PATCH] option description refactor --- lib/cli.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/cli.js b/lib/cli.js index 760fbd2..1e385fd 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -205,14 +205,14 @@ function lint(userConfig, input, ignore, errorReporter) { function createCliOptions(cliObject) { cliObject .version(`Solium version ${version}`) - .description("Style and Security checker for Solidity") + .description("Linter to find & fix style and security issues in Solidity smart contracts.") .usage("[options] ") .option("-i, --init", "Create default rule configuration files") - .option("-f, --file [filename]", "Solidity file to lint") - .option("-d, --dir [dirname]", "Directory containing Solidity files to lint") - .option("-R, --reporter [name]", "Format to report lint issues in (pretty | gcc)") - .option("-c, --config [path]", "Path to the .soliumrc configuration file") + .option("-f, --file [filepath::String]", "Solidity file to lint") + .option("-d, --dir [dirpath::String]", "Directory containing Solidity files to lint") + .option("-R, --reporter [name::String]", "Format to report lint issues in (pretty | gcc)") + .option("-c, --config [filepath::String]", "Path to the .soliumrc configuration file") .option("-, --stdin", "Read input file from stdin") .option("--fix", "Fix Lint issues where possible") .option("--debug", "Display debug information")