diff --git a/CHANGELOG.md b/CHANGELOG.md
index e9476360..137ebd49 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+
+## [1.1.4](https://github.com/oclif/plugin-help/compare/7a9b7508cb0d44c8e1ab2c8ba081d30bbd99e230...v1.1.4) (2018-02-17)
+
+
+### Bug Fixes
+
+* only show topics 1 level deep ([829e75e](https://github.com/oclif/plugin-help/commit/829e75e))
+* only show topics 1 level deep ([5af8a0b](https://github.com/oclif/plugin-help/commit/5af8a0b))
+
## [1.1.3](https://github.com/oclif/plugin-help/compare/81c089f2b549984de4e8e25f1d941698b7f63cb3...v1.1.3) (2018-02-17)
diff --git a/package.json b/package.json
index 2c905393..79161163 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@oclif/plugin-help",
"description": "standard help for oclif",
- "version": "1.1.3",
+ "version": "1.1.4",
"author": "Jeff Dickey @jdxcode",
"bugs": "https://github.com/oclif/plugin-help/issues",
"dependencies": {
diff --git a/src/index.ts b/src/index.ts
index a0b683f0..b47c85ac 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -60,7 +60,8 @@ export default class Help {
console.log()
} else if (command = this.config.findCommand(subject)) {
const name = command.id
- topics = topics.filter(t => t.name.startsWith(name + ':'))
+ const depth = name.split(':').length
+ topics = topics.filter(t => t.name.startsWith(name + ':') && t.name.split(':').length === depth + 1)
let title = command.description && this.render(command.description).split('\n')[0]
if (title) console.log(title + '\n')
console.log(this.command(command))
@@ -71,8 +72,9 @@ export default class Help {
}
} else if (topic = this.config.findTopic(subject)) {
const name = topic.name
+ const depth = name.split(':').length
+ topics = topics.filter(t => t.name.startsWith(name + ':') && t.name.split(':').length === depth + 1)
console.log(this.topic(topic))
- topics = topics.filter(t => t.name.startsWith(name + ':'))
if (topics.length) {
console.log(this.topics(topics))
console.log()