- Implemented ::getBinary.
- Removed Context::program, and converted DOM and dom.t to call ::getBinary.
This commit is contained in:
Paul Beckingham 2014-11-02 21:49:42 -05:00
parent 9799fcefed
commit 083b0cb0de
4 changed files with 11 additions and 2 deletions

View file

@ -482,6 +482,15 @@ bool CLI::canonicalize (
return false;
}
////////////////////////////////////////////////////////////////////////////////
std::string CLI::getBinary () const
{
if (_args.size ())
return _args[0].attribute ("raw");
return "";
}
////////////////////////////////////////////////////////////////////////////////
std::string CLI::getCommand () const
{