From b4a77e1c0ebc07458e5683ba9f46343b6c02d40b Mon Sep 17 00:00:00 2001 From: Sven Luijten Date: Wed, 11 Jan 2017 23:08:12 +0100 Subject: [PATCH] Add full stop to all command descriptions --- src/Composer/Command/AboutCommand.php | 2 +- src/Composer/Command/ArchiveCommand.php | 2 +- src/Composer/Command/ConfigCommand.php | 2 +- src/Composer/Command/DependsCommand.php | 2 +- src/Composer/Command/DumpAutoloadCommand.php | 2 +- src/Composer/Command/ExecCommand.php | 2 +- src/Composer/Command/LicensesCommand.php | 2 +- src/Composer/Command/ProhibitsCommand.php | 2 +- src/Composer/Command/RemoveCommand.php | 2 +- src/Composer/Command/RequireCommand.php | 2 +- src/Composer/Command/SearchCommand.php | 2 +- src/Composer/Command/ShowCommand.php | 2 +- src/Composer/Command/StatusCommand.php | 2 +- src/Composer/Command/SuggestsCommand.php | 2 +- src/Composer/Command/ValidateCommand.php | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Composer/Command/AboutCommand.php b/src/Composer/Command/AboutCommand.php index d6800ee15..7f04dc685 100644 --- a/src/Composer/Command/AboutCommand.php +++ b/src/Composer/Command/AboutCommand.php @@ -24,7 +24,7 @@ class AboutCommand extends BaseCommand { $this ->setName('about') - ->setDescription('Short information about Composer') + ->setDescription('Short information about Composer.') ->setHelp(<<php composer.phar about EOT diff --git a/src/Composer/Command/ArchiveCommand.php b/src/Composer/Command/ArchiveCommand.php index d9ff8479c..419a7bfb4 100644 --- a/src/Composer/Command/ArchiveCommand.php +++ b/src/Composer/Command/ArchiveCommand.php @@ -37,7 +37,7 @@ class ArchiveCommand extends BaseCommand { $this ->setName('archive') - ->setDescription('Create an archive of this composer package') + ->setDescription('Create an archive of this composer package.') ->setDefinition(array( new InputArgument('package', InputArgument::OPTIONAL, 'The package to archive instead of the current project'), new InputArgument('version', InputArgument::OPTIONAL, 'A version constraint to find the package to archive'), diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 21263426f..38027c82e 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -63,7 +63,7 @@ class ConfigCommand extends BaseCommand { $this ->setName('config') - ->setDescription('Set config options') + ->setDescription('Set config options.') ->setDefinition(array( new InputOption('global', 'g', InputOption::VALUE_NONE, 'Apply command to the global config file'), new InputOption('editor', 'e', InputOption::VALUE_NONE, 'Open editor'), diff --git a/src/Composer/Command/DependsCommand.php b/src/Composer/Command/DependsCommand.php index 365356d78..cbf75f736 100644 --- a/src/Composer/Command/DependsCommand.php +++ b/src/Composer/Command/DependsCommand.php @@ -30,7 +30,7 @@ class DependsCommand extends BaseDependencyCommand $this ->setName('depends') ->setAliases(array('why')) - ->setDescription('Shows which packages cause the given package to be installed') + ->setDescription('Shows which packages cause the given package to be installed.') ->setHelp(<<setName('dump-autoload') ->setAliases(array('dumpautoload')) - ->setDescription('Dumps the autoloader') + ->setDescription('Dumps the autoloader.') ->setDefinition(array( new InputOption('no-scripts', null, InputOption::VALUE_NONE, 'Skips the execution of all scripts defined in composer.json file.'), new InputOption('optimize', 'o', InputOption::VALUE_NONE, 'Optimizes PSR0 and PSR4 packages to be loaded with classmaps too, good for production.'), diff --git a/src/Composer/Command/ExecCommand.php b/src/Composer/Command/ExecCommand.php index 892baf746..110456719 100644 --- a/src/Composer/Command/ExecCommand.php +++ b/src/Composer/Command/ExecCommand.php @@ -26,7 +26,7 @@ class ExecCommand extends BaseCommand { $this ->setName('exec') - ->setDescription('Execute a vendored binary/script') + ->setDescription('Execute a vendored binary/script.') ->setDefinition(array( new InputOption('list', 'l', InputOption::VALUE_NONE), new InputArgument('binary', InputArgument::OPTIONAL, 'The binary to run, e.g. phpunit'), diff --git a/src/Composer/Command/LicensesCommand.php b/src/Composer/Command/LicensesCommand.php index fb1079d42..5428b55f8 100644 --- a/src/Composer/Command/LicensesCommand.php +++ b/src/Composer/Command/LicensesCommand.php @@ -31,7 +31,7 @@ class LicensesCommand extends BaseCommand { $this ->setName('licenses') - ->setDescription('Show information about licenses of dependencies') + ->setDescription('Show information about licenses of dependencies.') ->setDefinition(array( new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Format of the output: text or json', 'text'), new InputOption('no-dev', null, InputOption::VALUE_NONE, 'Disables search in require-dev packages.'), diff --git a/src/Composer/Command/ProhibitsCommand.php b/src/Composer/Command/ProhibitsCommand.php index 925c6aab5..f7457f82c 100644 --- a/src/Composer/Command/ProhibitsCommand.php +++ b/src/Composer/Command/ProhibitsCommand.php @@ -30,7 +30,7 @@ class ProhibitsCommand extends BaseDependencyCommand $this ->setName('prohibits') ->setAliases(array('why-not')) - ->setDescription('Shows which packages prevent the given package from being installed') + ->setDescription('Shows which packages prevent the given package from being installed.') ->setHelp(<<setName('remove') - ->setDescription('Removes a package from the require or require-dev') + ->setDescription('Removes a package from the require or require-dev.') ->setDefinition(array( new InputArgument('packages', InputArgument::IS_ARRAY, 'Packages that should be removed.'), new InputOption('dev', null, InputOption::VALUE_NONE, 'Removes a package from the require-dev section.'), diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php index df12b2928..3d74a1f2b 100644 --- a/src/Composer/Command/RequireCommand.php +++ b/src/Composer/Command/RequireCommand.php @@ -36,7 +36,7 @@ class RequireCommand extends InitCommand { $this ->setName('require') - ->setDescription('Adds required packages to your composer.json and installs them') + ->setDescription('Adds required packages to your composer.json and installs them.') ->setDefinition(array( new InputArgument('packages', InputArgument::IS_ARRAY | InputArgument::OPTIONAL, 'Required package name optionally including a version constraint, e.g. foo/bar or foo/bar:1.0.0 or foo/bar=1.0.0 or "foo/bar 1.0.0"'), new InputOption('dev', null, InputOption::VALUE_NONE, 'Add requirement to require-dev.'), diff --git a/src/Composer/Command/SearchCommand.php b/src/Composer/Command/SearchCommand.php index 854574274..bd02e200a 100644 --- a/src/Composer/Command/SearchCommand.php +++ b/src/Composer/Command/SearchCommand.php @@ -38,7 +38,7 @@ class SearchCommand extends BaseCommand { $this ->setName('search') - ->setDescription('Search for packages') + ->setDescription('Search for packages.') ->setDefinition(array( new InputOption('only-name', 'N', InputOption::VALUE_NONE, 'Search only in name'), new InputOption('type', 't', InputOption::VALUE_REQUIRED, 'Search for a specific package type'), diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 0b9dc7616..43e566fc2 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -57,7 +57,7 @@ class ShowCommand extends BaseCommand $this ->setName('show') ->setAliases(array('info')) - ->setDescription('Show information about packages') + ->setDescription('Show information about packages.') ->setDefinition(array( new InputArgument('package', InputArgument::OPTIONAL, 'Package to inspect. Or a name including a wildcard (*) to filter lists of packages instead.'), new InputArgument('version', InputArgument::OPTIONAL, 'Version or version constraint to inspect'), diff --git a/src/Composer/Command/StatusCommand.php b/src/Composer/Command/StatusCommand.php index 9e348ef29..059cddbc3 100644 --- a/src/Composer/Command/StatusCommand.php +++ b/src/Composer/Command/StatusCommand.php @@ -41,7 +41,7 @@ class StatusCommand extends BaseCommand { $this ->setName('status') - ->setDescription('Show a list of locally modified packages') + ->setDescription('Show a list of locally modified packages.') ->setDefinition(array( new InputOption('verbose', 'v|vv|vvv', InputOption::VALUE_NONE, 'Show modified files for each directory that contains changes.'), )) diff --git a/src/Composer/Command/SuggestsCommand.php b/src/Composer/Command/SuggestsCommand.php index f3472d249..e2afc76b2 100644 --- a/src/Composer/Command/SuggestsCommand.php +++ b/src/Composer/Command/SuggestsCommand.php @@ -24,7 +24,7 @@ class SuggestsCommand extends BaseCommand { $this ->setName('suggests') - ->setDescription('Show package suggestions') + ->setDescription('Show package suggestions.') ->setDefinition(array( new InputOption('by-package', null, InputOption::VALUE_NONE, 'Groups output by suggesting package'), new InputOption('by-suggestion', null, InputOption::VALUE_NONE, 'Groups output by suggested package'), diff --git a/src/Composer/Command/ValidateCommand.php b/src/Composer/Command/ValidateCommand.php index 55e0021ea..c72fdf648 100644 --- a/src/Composer/Command/ValidateCommand.php +++ b/src/Composer/Command/ValidateCommand.php @@ -37,7 +37,7 @@ class ValidateCommand extends BaseCommand { $this ->setName('validate') - ->setDescription('Validates a composer.json and composer.lock') + ->setDescription('Validates a composer.json and composer.lock.') ->setDefinition(array( new InputOption('no-check-all', null, InputOption::VALUE_NONE, 'Do not make a complete validation'), new InputOption('no-check-lock', null, InputOption::VALUE_NONE, 'Do not check if lock file is up to date'),