Skip to content

Commit

Permalink
Improve code based on feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
H. S. Teoh committed Feb 25, 2013
1 parent 6293612 commit fcc0353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/getopt.d
Expand Up @@ -408,7 +408,7 @@ private void getoptImpl(T...)(ref string[] args,
if (endOfOptions.length && a == endOfOptions)
{
// Consume the "--"
args = args[0 .. i + 1] ~ args[i + 2 .. $];
args = args.remove(i + 1);
break;
}
if (!cfg.passThrough)
Expand Down

0 comments on commit fcc0353

Please sign in to comment.