Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-zherikov committed May 24, 2022
1 parent 6b79f5a commit 3f27b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/argparse.d
Original file line number Diff line number Diff line change
Expand Up @@ -3350,7 +3350,7 @@ private struct CommandInfo

auto Command(string[] name...)
{
return CommandInfo(name);
return CommandInfo(name.dup);
}

unittest
Expand Down

0 comments on commit 3f27b2c

Please sign in to comment.