Browse Source

Add API docs for #9958

Mark Story 9 years ago
parent
commit
1a250ac276
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Console/ConsoleOptionParser.php

+ 2 - 0
src/Console/ConsoleOptionParser.php

@@ -343,6 +343,8 @@ class ConsoleOptionParser
      * - `boolean` - The option uses no value, it's just a boolean switch. Defaults to false.
      *    If an option is defined as boolean, it will always be added to the parsed params. If no present
      *    it will be false, if present it will be true.
+     * - `multiple` - The option can be provided multiple times. The parsed option
+     *   will be an array of values when this option is enabled.
      * - `choices` A list of valid choices for this option. If left empty all values are valid..
      *   An exception will be raised when parse() encounters an invalid value.
      *