Skip to content

Commit 83dfb3e

Browse files
committed
Minor correction
1 parent 3f1a2be commit 83dfb3e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"symfony/asset-mapper": "^6.4|^7.0",
3131
"symfony/config": "^6.4|^7.0",
3232
"symfony/dependency-injection": "^6.4|^7.0",
33-
"symfony/finder": "^6.4|^7.0",
3433
"symfony/http-kernel": "^6.4|^7.0",
3534
"symfony/property-access": "^6.4|^7.0",
3635
"symfony/property-info": "^6.4|^7.0",

src/Command/GenerateIconsCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ protected function configure(): void
3636
$this->addArgument('source', InputArgument::REQUIRED, 'The source image');
3737
$this->addArgument('output', InputArgument::REQUIRED, 'The output directory');
3838
$this->addArgument('filename', InputArgument::OPTIONAL, 'The output directory', 'icon');
39-
$this->addOption('format', null, InputOption::VALUE_OPTIONAL, 'The format of the icons');
39+
$this->addOption('format', 'f', InputOption::VALUE_OPTIONAL, 'The format of the icons');
4040
$this->addArgument(
4141
'sizes',
4242
InputArgument::OPTIONAL | InputArgument::IS_ARRAY,
4343
'The sizes of the icons',
44-
['192', '512']
44+
['16', '32', '48', '96', '144', '180', '256', '512', '1024']
4545
);
4646
}
4747

src/Command/TakeScreenshotCommand.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ protected function configure(): void
5252
InputArgument::OPTIONAL,
5353
'The output name of the screenshot',
5454
'screenshot',
55-
['homeage-android', 'feature1']
55+
['homepage-android', 'feature1']
5656
);
57-
$this->addOption('width', null, InputOption::VALUE_OPTIONAL, 'The width of the screenshot');
58-
$this->addOption('height', null, InputOption::VALUE_OPTIONAL, 'The height of the screenshot');
57+
$this->addOption('width', 'w', InputOption::VALUE_OPTIONAL, 'The width of the screenshot');
58+
$this->addOption('height', 'h', InputOption::VALUE_OPTIONAL, 'The height of the screenshot');
5959
}
6060

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

0 commit comments

Comments
 (0)