Skip to content
Permalink
Browse files

fix

  • Loading branch information
burner committed Jul 26, 2018
1 parent 1ca8680 commit 0231ab7deaa64c422d678de6a6c00908dfb9e593
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/args.d
@@ -1232,10 +1232,10 @@ unittest {
d
}
static struct Options {
@Arg() E[] en;
@Arg('t') E[] en;
}

auto args = ["funcname", "--en", "a", "--en", "b"];
auto args = ["funcname", "--en", "a", "-t", "b"];
Options opt;
parseArgs(opt, args);
assert(opt.en.length == 2);

0 comments on commit 0231ab7

Please sign in to comment.
You can’t perform that action at this time.