mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 20:37:20 +02:00
Alias
- Removed last traces of Alias object.
This commit is contained in:
parent
bc24d107d5
commit
a91d6227f8
4 changed files with 12 additions and 28 deletions
|
@ -97,13 +97,14 @@ int CmdHelp::execute (std::string& output)
|
|||
view.set (row, 1, " ");
|
||||
|
||||
std::map <std::string, std::string>::iterator alias;
|
||||
for (alias = context.alias._aliases.begin ();
|
||||
alias != context.alias._aliases.end ();
|
||||
++alias)
|
||||
for (alias = context.config.begin (); alias != context.config.end (); ++alias)
|
||||
{
|
||||
row = view.addRow ();
|
||||
view.set (row, 1, alias->first);
|
||||
view.set (row, 2, format (STRING_CMD_HELP_ALIASED, alias->second));
|
||||
if (alias->first.substr (0, 6) == "alias.")
|
||||
{
|
||||
row = view.addRow ();
|
||||
view.set (row, 1, alias->first.substr (6));
|
||||
view.set (row, 2, format (STRING_CMD_HELP_ALIASED, alias->second));
|
||||
}
|
||||
}
|
||||
|
||||
output = "\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue