aboutsummaryrefslogtreecommitdiff
path: root/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli.js b/cli.js
index e3165d2..2a7e5d3 100755
--- a/cli.js
+++ b/cli.js
@@ -45,6 +45,12 @@ if ((idx = params.indexOf("-r")) > -1) {
.then(() => process.exit(0))
.catch(console.error);
break;
+ case "char":
+ db.resetCharacteristics()
+ .then(() => console.info("Reset char!"))
+ .then(() => process.exit(0))
+ .catch(console.error);
+ break;
default:
console.info("Nothing to do!");
process.exit(0);