Skip to content

Commit

Permalink
align commands description (knex#1857)
Browse files Browse the repository at this point in the history
  • Loading branch information
mesaugat authored and elhigu committed Feb 15, 2017
1 parent a8f2876 commit 9ed22be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/cli.js
Expand Up @@ -110,7 +110,7 @@ function invoke(env) {

commander
.command('migrate:make <name>')
.description(' Create a named migration file.')
.description(' Create a named migration file.')
.option(`-x [${filetypes.join('|')}]`, 'Specify the stub extension (default js)')
.action(function(name) {
var instance = initKnex(env);
Expand Down Expand Up @@ -152,7 +152,7 @@ function invoke(env) {

commander
.command('migrate:currentVersion')
.description(' View the current version for the migration.')
.description(' View the current version for the migration.')
.action(function () {
pending = initKnex(env).migrate.currentVersion().then(function(version) {
success(chalk.green('Current Version: ') + chalk.blue(version));
Expand All @@ -161,7 +161,7 @@ function invoke(env) {

commander
.command('seed:make <name>')
.description(' Create a named seed file.')
.description(' Create a named seed file.')
.option(`-x [${filetypes.join('|')}]`, 'Specify the stub extension (default js)')
.action(function(name) {
var instance = initKnex(env);
Expand All @@ -173,7 +173,7 @@ function invoke(env) {

commander
.command('seed:run')
.description(' Run seed files.')
.description(' Run seed files.')
.action(function() {
pending = initKnex(env).seed.run().spread(function(log) {
if (log.length === 0) {
Expand Down

0 comments on commit 9ed22be

Please sign in to comment.