Enhancement
- When presenting lists of ambiguous command, attributes and modifiers to the user, it is now a sorted list.
This commit is contained in:
@@ -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 += " '";
|
||||
|
||||
Reference in New Issue
Block a user