Skip to content

Commit

Permalink
Update single hyphen arugment name
Browse files Browse the repository at this point in the history
Single hypen arguments can only be one character.
Instead of `-remote -tag` it would be `-r -t` or better `-rt`.
  • Loading branch information
skippednote committed May 14, 2020
1 parent ed8c0ef commit 26b3536
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/DbDockerCommand.php
Expand Up @@ -27,15 +27,15 @@ protected function configure()
{
$this->setName('db-docker')
->setDescription('Generate a Docker image for the database.')
->addOption('docker-tag', 'tag', InputOption::VALUE_OPTIONAL,
->addOption('docker-tag', 't', InputOption::VALUE_OPTIONAL,
'The Docker tag to build')
->addOption('git-remote', 'remote', InputOption::VALUE_OPTIONAL,
->addOption('git-remote', 'r', InputOption::VALUE_OPTIONAL,
'The git remote to use to determine the image name', 'origin')
->addOption('db-source', 'src', InputOption::VALUE_OPTIONAL,
->addOption('db-source', 's', InputOption::VALUE_OPTIONAL,
'Source of the database ("lando", "drush", or "file")')
->addOption('db-file', 'file', InputOption::VALUE_OPTIONAL,
->addOption('db-file', 'f', InputOption::VALUE_OPTIONAL,
'The path to the database file (required if db-source is set to file)')
->addOption('no-push', null, InputOption::VALUE_NONE,
->addOption('no-push', 'n', InputOption::VALUE_NONE,
'Set to not push the image after building');
}

Expand Down

0 comments on commit 26b3536

Please sign in to comment.