Commands
- Eliminated the Command::implements method. - Implemented CmdCustom to handle all custom reports. - Implemented CmdTags.
This commit is contained in:
@@ -33,7 +33,6 @@ extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
CmdTip::CmdTip ()
|
||||
: _external_command ("")
|
||||
{
|
||||
_keyword = "tip";
|
||||
_usage = "task tip";
|
||||
@@ -42,20 +41,6 @@ CmdTip::CmdTip ()
|
||||
_displays_id = false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CmdTip::implements (const std::string& command_line)
|
||||
{
|
||||
_external_command = "";
|
||||
if (context.args.size () > 1 &&
|
||||
(context.args[0] == "tip" ||
|
||||
context.args[0] == "ti"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdTip::execute (const std::string&, std::string&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user