CLI
- Implemented ::getBinary. - Removed Context::program, and converted DOM and dom.t to call ::getBinary.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user