@oclif/plugin-help
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,1 +0,1 @@ | ||
{"version":"1.0.4","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{"version":{"name":"version","type":"boolean","description":"show CLI version"},"help":{"name":"help","type":"boolean","description":"show CLI help"}},"args":[]},"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI"}},"args":[{"name":"command","description":"command to show help for","required":false}]}}} | ||
{"version":"1.0.5","commands":{"commands":{"id":"commands","pluginName":"@oclif/plugin-help","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI"}},"args":[{"name":"command","description":"command to show help for","required":false}]}}} |
@@ -0,1 +1,10 @@ | ||
<a name="1.0.5"></a> | ||
## [1.0.5](https://github.com/oclif/plugin-help/compare/66cd4cdfba29f6e6c81f45742a5528038375830f...v1.0.5) (2018-02-17) | ||
### Bug Fixes | ||
* read options if flagValue is undefined ([abe43d8](https://github.com/oclif/plugin-help/commit/abe43d8)) | ||
* updated deps ([de75032](https://github.com/oclif/plugin-help/commit/de75032)) | ||
<a name="1.0.4"></a> | ||
@@ -2,0 +11,0 @@ ## [1.0.4](https://github.com/oclif/plugin-help/compare/a382ee982a225d48d7650f1ced7fd97ea90e1ebf...v1.0.4) (2018-02-17) |
@@ -111,3 +111,6 @@ "use strict"; | ||
let value = flag.helpValue || flag.name; | ||
if (!value.includes('(')) | ||
if (!flag.helpValue && flag.options) { | ||
value = flag.options.join('|'); | ||
} | ||
if (!value.includes('|')) | ||
value = underline(value); | ||
@@ -114,0 +117,0 @@ left += `=${value}`; |
{ | ||
"name": "@oclif/plugin-help", | ||
"description": "standard help for oclif", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Jeff Dickey @jdxcode", | ||
"bugs": "https://github.com/oclif/plugin-help/issues", | ||
"dependencies": { | ||
"@oclif/command": "^1.3.0", | ||
"@oclif/command": "^1.3.1", | ||
"chalk": "^2.3.1", | ||
@@ -10,0 +10,0 @@ "indent-string": "^3.2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34776
558
Updated@oclif/command@^1.3.1