From e3ddb8149d275d66f119b30b4ea72bc0af9f62ee Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sun, 20 Mar 2016 23:16:08 +0900 Subject: [PATCH] Make console command descriptions consistent --- framework/core/src/Console/Command/GenerateExtensionCommand.php | 2 +- framework/core/src/Console/Command/GenerateMigrationCommand.php | 2 +- framework/core/src/Install/Console/InstallCommand.php | 2 +- framework/core/src/Update/Console/MigrateCommand.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/core/src/Console/Command/GenerateExtensionCommand.php b/framework/core/src/Console/Command/GenerateExtensionCommand.php index eb70644ac..0870ba9bd 100644 --- a/framework/core/src/Console/Command/GenerateExtensionCommand.php +++ b/framework/core/src/Console/Command/GenerateExtensionCommand.php @@ -19,7 +19,7 @@ class GenerateExtensionCommand extends AbstractCommand { $this ->setName('generate:extension') - ->setDescription('Generate a Flarum extension skeleton.'); + ->setDescription('Generate a Flarum extension skeleton'); } /** diff --git a/framework/core/src/Console/Command/GenerateMigrationCommand.php b/framework/core/src/Console/Command/GenerateMigrationCommand.php index ca5d3c7fc..3e43ff89b 100644 --- a/framework/core/src/Console/Command/GenerateMigrationCommand.php +++ b/framework/core/src/Console/Command/GenerateMigrationCommand.php @@ -38,7 +38,7 @@ class GenerateMigrationCommand extends AbstractCommand { $this ->setName('generate:migration') - ->setDescription('Generate a migration.') + ->setDescription('Generate a migration') ->addArgument( 'name', InputArgument::REQUIRED, diff --git a/framework/core/src/Install/Console/InstallCommand.php b/framework/core/src/Install/Console/InstallCommand.php index ff107b488..49bb72a34 100644 --- a/framework/core/src/Install/Console/InstallCommand.php +++ b/framework/core/src/Install/Console/InstallCommand.php @@ -57,7 +57,7 @@ class InstallCommand extends AbstractCommand { $this ->setName('install') - ->setDescription("Run Flarum's installation migration and seeds.") + ->setDescription("Run Flarum's installation migration and seeds") ->addOption( 'defaults', 'd', diff --git a/framework/core/src/Update/Console/MigrateCommand.php b/framework/core/src/Update/Console/MigrateCommand.php index 9baf8e8d9..6b97fe1e3 100644 --- a/framework/core/src/Update/Console/MigrateCommand.php +++ b/framework/core/src/Update/Console/MigrateCommand.php @@ -37,7 +37,7 @@ class MigrateCommand extends AbstractCommand { $this ->setName('migrate') - ->setDescription('Run outstanding migrations.'); + ->setDescription('Run outstanding migrations'); } /**