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:
@@ -46,7 +46,7 @@ CmdVersion::CmdVersion ()
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdVersion::execute (const std::string&, std::string& output)
|
||||
int CmdVersion::execute (std::string& output)
|
||||
{
|
||||
std::stringstream out;
|
||||
|
||||
@@ -128,9 +128,7 @@ CmdCompletionVersion::CmdCompletionVersion ()
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdCompletionVersion::execute (
|
||||
const std::string&,
|
||||
std::string& output)
|
||||
int CmdCompletionVersion::execute (std::string& output)
|
||||
{
|
||||
#ifdef HAVE_COMMIT
|
||||
output = COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user