From 7a686cb48ac9cd12cdcfe396332d0f5fc47d4a13 Mon Sep 17 00:00:00 2001 From: Paolo Capriotti Date: Sat, 17 Apr 2021 12:24:18 +0200 Subject: [PATCH] Add note about disambiguation quirk (#419) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fcbc22f1..e912ac95 100644 --- a/README.md +++ b/README.md @@ -702,6 +702,11 @@ main = customExecParser p opts ``` +**Note**. If an option name is a prefix of another option, then it +will never be matched when disambiguation is on. See +https://github.com/pcapriotti/optparse-applicative/issues/419 for more +details. + ### Customising the help screen optparse-applicative has a number of combinators to help customise