1
0
Fork 0

Add full stop to all command descriptions

pull/6061/head
Sven Luijten 2017-01-11 23:08:12 +01:00
parent b1fee3035f
commit b4a77e1c0e
15 changed files with 15 additions and 15 deletions

View File

@ -24,7 +24,7 @@ class AboutCommand extends BaseCommand
{ {
$this $this
->setName('about') ->setName('about')
->setDescription('Short information about Composer') ->setDescription('Short information about Composer.')
->setHelp(<<<EOT ->setHelp(<<<EOT
<info>php composer.phar about</info> <info>php composer.phar about</info>
EOT EOT

View File

@ -37,7 +37,7 @@ class ArchiveCommand extends BaseCommand
{ {
$this $this
->setName('archive') ->setName('archive')
->setDescription('Create an archive of this composer package') ->setDescription('Create an archive of this composer package.')
->setDefinition(array( ->setDefinition(array(
new InputArgument('package', InputArgument::OPTIONAL, 'The package to archive instead of the current project'), 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'), new InputArgument('version', InputArgument::OPTIONAL, 'A version constraint to find the package to archive'),

View File

@ -63,7 +63,7 @@ class ConfigCommand extends BaseCommand
{ {
$this $this
->setName('config') ->setName('config')
->setDescription('Set config options') ->setDescription('Set config options.')
->setDefinition(array( ->setDefinition(array(
new InputOption('global', 'g', InputOption::VALUE_NONE, 'Apply command to the global config file'), new InputOption('global', 'g', InputOption::VALUE_NONE, 'Apply command to the global config file'),
new InputOption('editor', 'e', InputOption::VALUE_NONE, 'Open editor'), new InputOption('editor', 'e', InputOption::VALUE_NONE, 'Open editor'),

View File

@ -30,7 +30,7 @@ class DependsCommand extends BaseDependencyCommand
$this $this
->setName('depends') ->setName('depends')
->setAliases(array('why')) ->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(<<<EOT ->setHelp(<<<EOT
Displays detailed information about where a package is referenced. Displays detailed information about where a package is referenced.

View File

@ -28,7 +28,7 @@ class DumpAutoloadCommand extends BaseCommand
$this $this
->setName('dump-autoload') ->setName('dump-autoload')
->setAliases(array('dumpautoload')) ->setAliases(array('dumpautoload'))
->setDescription('Dumps the autoloader') ->setDescription('Dumps the autoloader.')
->setDefinition(array( ->setDefinition(array(
new InputOption('no-scripts', null, InputOption::VALUE_NONE, 'Skips the execution of all scripts defined in composer.json file.'), 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.'), new InputOption('optimize', 'o', InputOption::VALUE_NONE, 'Optimizes PSR0 and PSR4 packages to be loaded with classmaps too, good for production.'),

View File

@ -26,7 +26,7 @@ class ExecCommand extends BaseCommand
{ {
$this $this
->setName('exec') ->setName('exec')
->setDescription('Execute a vendored binary/script') ->setDescription('Execute a vendored binary/script.')
->setDefinition(array( ->setDefinition(array(
new InputOption('list', 'l', InputOption::VALUE_NONE), new InputOption('list', 'l', InputOption::VALUE_NONE),
new InputArgument('binary', InputArgument::OPTIONAL, 'The binary to run, e.g. phpunit'), new InputArgument('binary', InputArgument::OPTIONAL, 'The binary to run, e.g. phpunit'),

View File

@ -31,7 +31,7 @@ class LicensesCommand extends BaseCommand
{ {
$this $this
->setName('licenses') ->setName('licenses')
->setDescription('Show information about licenses of dependencies') ->setDescription('Show information about licenses of dependencies.')
->setDefinition(array( ->setDefinition(array(
new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Format of the output: text or json', 'text'), 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.'), new InputOption('no-dev', null, InputOption::VALUE_NONE, 'Disables search in require-dev packages.'),

View File

@ -30,7 +30,7 @@ class ProhibitsCommand extends BaseDependencyCommand
$this $this
->setName('prohibits') ->setName('prohibits')
->setAliases(array('why-not')) ->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(<<<EOT ->setHelp(<<<EOT
Displays detailed information about why a package cannot be installed. Displays detailed information about why a package cannot be installed.

View File

@ -33,7 +33,7 @@ class RemoveCommand extends BaseCommand
{ {
$this $this
->setName('remove') ->setName('remove')
->setDescription('Removes a package from the require or require-dev') ->setDescription('Removes a package from the require or require-dev.')
->setDefinition(array( ->setDefinition(array(
new InputArgument('packages', InputArgument::IS_ARRAY, 'Packages that should be removed.'), 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.'), new InputOption('dev', null, InputOption::VALUE_NONE, 'Removes a package from the require-dev section.'),

View File

@ -36,7 +36,7 @@ class RequireCommand extends InitCommand
{ {
$this $this
->setName('require') ->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( ->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 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.'), new InputOption('dev', null, InputOption::VALUE_NONE, 'Add requirement to require-dev.'),

View File

@ -38,7 +38,7 @@ class SearchCommand extends BaseCommand
{ {
$this $this
->setName('search') ->setName('search')
->setDescription('Search for packages') ->setDescription('Search for packages.')
->setDefinition(array( ->setDefinition(array(
new InputOption('only-name', 'N', InputOption::VALUE_NONE, 'Search only in name'), 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'), new InputOption('type', 't', InputOption::VALUE_REQUIRED, 'Search for a specific package type'),

View File

@ -57,7 +57,7 @@ class ShowCommand extends BaseCommand
$this $this
->setName('show') ->setName('show')
->setAliases(array('info')) ->setAliases(array('info'))
->setDescription('Show information about packages') ->setDescription('Show information about packages.')
->setDefinition(array( ->setDefinition(array(
new InputArgument('package', InputArgument::OPTIONAL, 'Package to inspect. Or a name including a wildcard (*) to filter lists of packages instead.'), 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'), new InputArgument('version', InputArgument::OPTIONAL, 'Version or version constraint to inspect'),

View File

@ -41,7 +41,7 @@ class StatusCommand extends BaseCommand
{ {
$this $this
->setName('status') ->setName('status')
->setDescription('Show a list of locally modified packages') ->setDescription('Show a list of locally modified packages.')
->setDefinition(array( ->setDefinition(array(
new InputOption('verbose', 'v|vv|vvv', InputOption::VALUE_NONE, 'Show modified files for each directory that contains changes.'), new InputOption('verbose', 'v|vv|vvv', InputOption::VALUE_NONE, 'Show modified files for each directory that contains changes.'),
)) ))

View File

@ -24,7 +24,7 @@ class SuggestsCommand extends BaseCommand
{ {
$this $this
->setName('suggests') ->setName('suggests')
->setDescription('Show package suggestions') ->setDescription('Show package suggestions.')
->setDefinition(array( ->setDefinition(array(
new InputOption('by-package', null, InputOption::VALUE_NONE, 'Groups output by suggesting package'), 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'), new InputOption('by-suggestion', null, InputOption::VALUE_NONE, 'Groups output by suggested package'),

View File

@ -37,7 +37,7 @@ class ValidateCommand extends BaseCommand
{ {
$this $this
->setName('validate') ->setName('validate')
->setDescription('Validates a composer.json and composer.lock') ->setDescription('Validates a composer.json and composer.lock.')
->setDefinition(array( ->setDefinition(array(
new InputOption('no-check-all', null, InputOption::VALUE_NONE, 'Do not make a complete validation'), 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'), new InputOption('no-check-lock', null, InputOption::VALUE_NONE, 'Do not check if lock file is up to date'),