diff --git a/bin/generate-filters.php b/bin/generate-filters.php old mode 100644 new mode 100755 diff --git a/src/Console/Command/GenerateCommand.php b/src/Console/Command/GenerateCommand.php index a026129..2952c2e 100644 --- a/src/Console/Command/GenerateCommand.php +++ b/src/Console/Command/GenerateCommand.php @@ -22,8 +22,8 @@ class GenerateCommand extends Command $this ->setName(self::NAME) ->setDefinition([ - new InputOption('input-file', null, InputOption::VALUE_OPTIONAL, 'The name of the PHP file containing your filters.', 'filters.php'), - new InputOption('output-file', null, InputOption::VALUE_OPTIONAL, 'The name of the XML file to generate.', 'filters.xml') + new InputOption('input-file', 'i', InputOption::VALUE_OPTIONAL, 'The name of the PHP file containing your filters.', 'filters.php'), + new InputOption('output-file', 'o', InputOption::VALUE_OPTIONAL, 'The name of the XML file to generate.', 'filters.xml') ]) ->setDescription('Generates XML for Gmail filters.') ;