From 2be9e31ef663e28ed71c4b8c8a9271c417297e4f Mon Sep 17 00:00:00 2001 From: anonymous Date: Tue, 23 Aug 2016 22:54:13 +0200 Subject: [PATCH] fix issue 16420 - Incorrect example in std.getopt docs --- std/getopt.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/std/getopt.d b/std/getopt.d index 5361a54ab9a..2cc386a3dd7 100644 --- a/std/getopt.d +++ b/std/getopt.d @@ -320,7 +320,8 @@ getopt(args, "bar", &bar); --------- -In the example above, "--foo", "--bar", "--FOo", "--bAr", etc. are recognized. +In the example above, "--foo" and "--bar" are recognized, but "--Foo", "--Bar", +"--FOo", "--bAr", etc. are rejected. The directive is active until the end of $(D getopt), or until the converse directive $(D caseInsensitive) is encountered: