mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Implemented simple argument capture, with no processing.
This commit is contained in:
parent
ec5876d56b
commit
23786515f9
3 changed files with 13 additions and 1 deletions
|
@ -330,6 +330,13 @@ void CLI2::entity (const std::string& category, const std::string& name)
|
|||
_entities.insert (std::pair <std::string, std::string> (category, name));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Capture a single argument.
|
||||
void CLI2::add (const std::string& argument)
|
||||
{
|
||||
_original_args.push_back (argument);
|
||||
}
|
||||
|
||||
/*
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Capture the original, intact command line arguments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue