This commit is contained in:
@ -68,7 +68,7 @@ int main(int argc, char* argv[]) {
|
||||
<< info->help_description << std::endl;
|
||||
return 1;
|
||||
}
|
||||
CommandContext ctx{args};
|
||||
CommandContext ctx{args[0], cmd, std::vector<std::string>(args.begin() + 2, args.end())};
|
||||
return info->handler(ctx);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user