From bd299e429b98d40d99a774999ca32e8b592b9fb8 Mon Sep 17 00:00:00 2001 From: Erwane Breton Date: Thu, 9 Apr 2026 10:24:19 +0200 Subject: [PATCH 1/2] Precision about OptionParser 'separator' Clarified requirement for 'separator' option to require 'multiple' to be true. --- docs/en/console-commands/option-parsers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/console-commands/option-parsers.md b/docs/en/console-commands/option-parsers.md index 87d84a4e01..723b224638 100644 --- a/docs/en/console-commands/option-parsers.md +++ b/docs/en/console-commands/option-parsers.md @@ -158,7 +158,7 @@ of the option: - `multiple` - The option can be provided multiple times. The parsed option will be an array of values when this option is enabled. - `separator` - A character sequence that the option value is split into an - array with. + array with. Require `multiple` sets to `true`. - `choices` - An array of valid choices for this option. If left empty all values are valid. An exception will be raised when parse() encounters an invalid value. From 181f7b751e1a43c0c62a0a1ba4bc88c1e3afb4a7 Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Thu, 9 Apr 2026 10:39:01 +0200 Subject: [PATCH 2/2] Fix grammar in option-parsers.md documentation --- docs/en/console-commands/option-parsers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/console-commands/option-parsers.md b/docs/en/console-commands/option-parsers.md index 723b224638..63a618ceb3 100644 --- a/docs/en/console-commands/option-parsers.md +++ b/docs/en/console-commands/option-parsers.md @@ -158,7 +158,7 @@ of the option: - `multiple` - The option can be provided multiple times. The parsed option will be an array of values when this option is enabled. - `separator` - A character sequence that the option value is split into an - array with. Require `multiple` sets to `true`. + array with. Requires `multiple` set to `true`. - `choices` - An array of valid choices for this option. If left empty all values are valid. An exception will be raised when parse() encounters an invalid value.