aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2019-09-30 06:15:46 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2019-10-01 13:21:58 +0000
commit80ed062487356310efd5e4a76f1f8978dc836a4f (patch)
treefec48e1eef7a86dfb1c051f38d201bbd6bf24f42 /src/background/controllers
parent1afdb51feaa860c6dd0542b362925fb553eabf4c (diff)
Add :help command to open help
Diffstat (limited to 'src/background/controllers')
-rw-r--r--src/background/controllers/CommandController.ts3
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');
}