diff --git a/cli.js b/cli.js index 2d0a9b30..de5216fd 100755 --- a/cli.js +++ b/cli.js @@ -97,6 +97,10 @@ function parseString(value) { return value; } +if (!program.args.length){ + program.outputHelp(); +} + var mainOptions = { caseSensitive: 'Treat attributes in case sensitive manner (useful for SVG; e.g. viewBox)', collapseBooleanAttributes: 'Omit attribute values from boolean attributes',