From 8b7d772680a3eba919e15778cff6611ee8c0febd Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 24 Feb 2019 16:58:02 +0900 Subject: [PATCH] remove work-around from previous versions --- src/config.d | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/config.d b/src/config.d index dee895a1..2f61314b 100644 --- a/src/config.d +++ b/src/config.d @@ -380,15 +380,12 @@ Usage: Options: `); foreach (it; opt.sort!("a.optLong < b.optLong")) { - if (it.optLong == "--help") continue; writefln(" %s%s%s%s\n %s", it.optLong, it.optShort == "" ? "" : " " ~ it.optShort, argsNeedingOptions.canFind(it.optLong) ? " ARG" : "", it.required ? " (required)" : "", it.help); } - // write help last - writefln(" --help -h\n This help information."); } unittest