mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 17:00:39 +00:00
typo
This commit is contained in:
parent
4d57a1182f
commit
2cc329ab1f
1 changed files with 3 additions and 3 deletions
|
@ -14,10 +14,10 @@ final _configs = parseScreenshotConfigs();
|
||||||
|
|
||||||
Future<int> main(List<String> args) async {
|
Future<int> main(List<String> args) async {
|
||||||
final parser = ArgParser()
|
final parser = ArgParser()
|
||||||
..addFlag('verbose', abbr: 'v', help: 'Verbose output.')
|
..addFlag('verbose', abbr: 'v', help: 'Verbose output')
|
||||||
..addOption('platform', abbr: 'p', help: 'Device platform.', mandatory: true)
|
..addOption('platform', abbr: 'p', help: 'Device platform', mandatory: true)
|
||||||
..addOption('device', abbr: 'd', help: 'device_snake_name', mandatory: true)
|
..addOption('device', abbr: 'd', help: 'device_snake_name', mandatory: true)
|
||||||
..addOption('layout', abbr: 'l', help: 'Device platform.', mandatory: true);
|
..addOption('layout', abbr: 'l', help: 'Device layout', mandatory: true);
|
||||||
final ArgResults argResults = parser.parse(args);
|
final ArgResults argResults = parser.parse(args);
|
||||||
|
|
||||||
if (argResults['verbose'] as bool) {
|
if (argResults['verbose'] as bool) {
|
||||||
|
|
Loading…
Reference in a new issue