diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-10-01 13:37:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 13:37:09 +0000 |
commit | 620d4bc03e11ae88e2162cb4acdf88b6bded50e5 (patch) | |
tree | 6d1ed59cde68ff0cb721e6ac0d3c9554a07bc2bf /src/background/controllers | |
parent | 1afdb51feaa860c6dd0542b362925fb553eabf4c (diff) | |
parent | cb08141a55e9f067f73f3d9c387c6af5bb05b608 (diff) |
Merge pull request #649 from ueokande/help-page
Add :help command to show help page
Diffstat (limited to 'src/background/controllers')
-rw-r--r-- | src/background/controllers/CommandController.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/background/controllers/CommandController.ts b/src/background/controllers/CommandController.ts index 2ad1683..11fed01 100644 --- a/src/background/controllers/CommandController.ts +++ b/src/background/controllers/CommandController.ts @@ -96,6 +96,9 @@ export default class CommandController { return this.commandIndicator.quitAll(); case 'set': return this.commandIndicator.set(keywords); + case 'h': + case 'help': + return this.commandIndicator.help(); } throw new Error(words[0] + ' command is not defined'); } |