diff --git a/source/argparse.d b/source/argparse.d index 0f35999..03438b8 100644 --- a/source/argparse.d +++ b/source/argparse.d @@ -3350,7 +3350,7 @@ private struct CommandInfo auto Command(string[] name...) { - return CommandInfo(name); + return CommandInfo(name.dup); } unittest