I'd imagine the help output should be same regardless if passing the -h flag?
bin/cop -h
$ bin/cop -h
Usage: cop [options]
Options:
-h, --help output usage information
-V, --version output the version number
--yml, --yaml Render as YAML
--shell Render as Shell VARS
--json Render as JSON
--xml Render as XML
--render-as <format> Render format
-t, --render-template [template] Rendering template
--stdin-type <format> STDIN format
versus bin/cop
$ bin/cop
Usage: cop [options]
Options:
-h, --help output usage information
-V, --version output the version number
--yml, --yaml Render as YAML
--shell Render as Shell VARS
--json Render as JSON
--xml Render as XML
--render-as <format> Render format
-t, --render-template [template] Rendering template
--stdin-type <format> STDIN format
Configuration Extensions:
json - *.json, *.jsonp, *.js
shell - *.shell, *.vars, *.env
xml - *.xml, *.html
yaml - *.yaml, *.yml
Template Engines:
dust - *.dust
handlebars - *.hbs, *.handlebars
marko - *.marko
nunjucks - *.njk, *.nunjucks, *.j2, *.jinja, *.jinja2
Examples:
$ bin/cop --yml examples/setting.json
$ bin/cop --yml examples/setting.json examples/setting.yml
$ bin/cop --render-template examples/views/Dockerfile.hbs examples/setting.json examples/setting.yml
I'd imagine the help output should be same regardless if passing the -h flag?
bin/cop -h
versus
bin/cop