Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-zherikov committed Dec 22, 2023
1 parent 13d16de commit a83d406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/argparse/internal/parser.d
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private Entry getNextEntry(bool bundling)(Config config, ref string[] args,
import std.algorithm : startsWith;

// Is it a long name ("--...")?
if(arg0.length > 1 && arg0[1] == config.namedArgPrefix)
if(arg0[1] == config.namedArgPrefix)
{
// cases (from higher to lower priority):
// --foo=val => --foo val
Expand Down

0 comments on commit a83d406

Please sign in to comment.