diff --git a/CHANGELOG.md b/CHANGELOG.md index 482b7f76..e9476360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ + +## [1.1.3](https://github.com/oclif/plugin-help/compare/81c089f2b549984de4e8e25f1d941698b7f63cb3...v1.1.3) (2018-02-17) + + +### Bug Fixes + +* hide hidden topics ([7a9b750](https://github.com/oclif/plugin-help/commit/7a9b750)) + ## [1.1.2](https://github.com/oclif/plugin-help/compare/165a53c8d7f6705b20fa56553e6d78cb689d882e...v1.1.2) (2018-02-17) diff --git a/package.json b/package.json index 09b99d45..2c905393 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oclif/plugin-help", "description": "standard help for oclif", - "version": "1.1.2", + "version": "1.1.3", "author": "Jeff Dickey @jdxcode", "bugs": "https://github.com/oclif/plugin-help/issues", "dependencies": { diff --git a/src/index.ts b/src/index.ts index ae9fab4d..a0b683f0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -44,6 +44,7 @@ export default class Help { } } let topics = this.config.topics + topics = topics.filter(t => this.opts.all || !t.hidden) topics = sortBy(topics, t => t.name) topics = uniqBy(topics, t => t.name) let subject = getHelpSubject()