Skip to content

Commit 3e06b1c

Browse files
committed
refactor(api): cleanup information and added commentary
1 parent 793a3db commit 3e06b1c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

api.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ dbmigrate.prototype = {
165165
return true;
166166
},
167167

168+
/**
169+
* Registers and initializes hooks.
170+
*
171+
* @returns Promise
172+
*/
168173
registerAPIHook: function(callback) {
169174

170175
var plugins = this.internals.plugins;
@@ -550,7 +555,7 @@ function setDefaultArgv(internals, isModule) {
550555
'ignore-completed-migrations': false
551556
})
552557
.usage(
553-
'Usage: db-migrate [up|down|reset|sync|create|db|seed|transition] ' +
558+
'Usage: db-migrate [up|down|reset|sync|create|db|transition] ' +
554559
'[[dbname/]migrationName|all] [options]'
555560
)
556561

0 commit comments

Comments
 (0)