summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Shields <mail@kennyshields.net>2020-07-29 17:58:28 -0400
committerKenny Shields <mail@kennyshields.net>2020-07-29 17:58:28 -0400
commit6812bc661696f536638929775f95881435aabde5 (patch)
tree78e85909d3e63f3812d53def937a4b7fdf85f59e
parent758659702b27c6240691f548c54f09b89959f11d (diff)
downloaddsymlist-6812bc661696f536638929775f95881435aabde5.tar.gz
dsymlist-6812bc661696f536638929775f95881435aabde5.zip
Add passThrough config to getopt function call
-rw-r--r--source/main.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/main.d b/source/main.d
index e53b3e7..396ae1e 100644
--- a/source/main.d
+++ b/source/main.d
@@ -8,7 +8,7 @@ import std.path : baseName;
import std.array : join, split;
import std.string : splitLines;
import std.regex : matchFirst, regex;
-import std.getopt : getopt;
+import std.getopt : getopt, config;
import std.algorithm.sorting : sort;
import std.algorithm.searching : startsWith;
import std.conv : to;
@@ -66,7 +66,7 @@ ulong namespaceCount = 0;
*/
void main(string[] args) {
// check options
- auto helpInfo = getopt(args,
+ auto helpInfo = getopt(args, config.passThrough,
"quiet|q",
"Don't print to standard out.",
&__opt_quiet,