Argument Parsing
- Obsoleted Command::exectute 'commandLine' argument. It is worse than unnecessary, it is an uncategorized raw argument string, which is only really useful for the 'execute' command, which itself now calls Arguments::combine to reconstruct the command line string.
This commit is contained in:
@@ -47,7 +47,7 @@ CmdMerge::CmdMerge ()
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdMerge::execute (const std::string&, std::string& output)
|
||||
int CmdMerge::execute (std::string& output)
|
||||
{
|
||||
std::string file = trim (context.task.get ("description"));
|
||||
std::string pushfile = "";
|
||||
@@ -93,7 +93,7 @@ int CmdMerge::execute (const std::string&, std::string& output)
|
||||
context.task.set ("description", uri.data);
|
||||
|
||||
std::string out;
|
||||
context.commands["push"]->execute ("", out);
|
||||
context.commands["push"]->execute (out);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user