mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Enhancement
- When presenting lists of ambiguous command, attributes and modifiers to the user, it is now a sorted list.
This commit is contained in:
parent
96bd3ff8db
commit
e886f7635b
3 changed files with 14 additions and 6 deletions
|
@ -25,6 +25,7 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
@ -397,6 +398,8 @@ void guess (
|
|||
|
||||
else
|
||||
{
|
||||
std::sort (matches.begin (), matches.end ());
|
||||
|
||||
std::string error = "Ambiguous "; // TODO i18n
|
||||
error += type;
|
||||
error += " '";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue