Skip to content

Commit

Permalink
Minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Jan 21, 2024
1 parent 3f1a2be commit 83dfb3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"symfony/asset-mapper": "^6.4|^7.0",
"symfony/config": "^6.4|^7.0",
"symfony/dependency-injection": "^6.4|^7.0",
"symfony/finder": "^6.4|^7.0",
"symfony/http-kernel": "^6.4|^7.0",
"symfony/property-access": "^6.4|^7.0",
"symfony/property-info": "^6.4|^7.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Command/GenerateIconsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ protected function configure(): void
$this->addArgument('source', InputArgument::REQUIRED, 'The source image');
$this->addArgument('output', InputArgument::REQUIRED, 'The output directory');
$this->addArgument('filename', InputArgument::OPTIONAL, 'The output directory', 'icon');
$this->addOption('format', null, InputOption::VALUE_OPTIONAL, 'The format of the icons');
$this->addOption('format', 'f', InputOption::VALUE_OPTIONAL, 'The format of the icons');
$this->addArgument(
'sizes',
InputArgument::OPTIONAL | InputArgument::IS_ARRAY,
'The sizes of the icons',
['192', '512']
['16', '32', '48', '96', '144', '180', '256', '512', '1024']
);
}

Expand Down
6 changes: 3 additions & 3 deletions src/Command/TakeScreenshotCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ protected function configure(): void
InputArgument::OPTIONAL,
'The output name of the screenshot',
'screenshot',
['homeage-android', 'feature1']
['homepage-android', 'feature1']
);
$this->addOption('width', null, InputOption::VALUE_OPTIONAL, 'The width of the screenshot');
$this->addOption('height', null, InputOption::VALUE_OPTIONAL, 'The height of the screenshot');
$this->addOption('width', 'w', InputOption::VALUE_OPTIONAL, 'The width of the screenshot');
$this->addOption('height', 'h', InputOption::VALUE_OPTIONAL, 'The height of the screenshot');
}

protected function execute(InputInterface $input, OutputInterface $output): int
Expand Down

0 comments on commit 83dfb3e

Please sign in to comment.