mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdReport: Any unambiguous report name is allowed
This commit is contained in:
parent
b83bbb09c0
commit
2b6597fe29
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ static std::string findExtension (
|
||||||
options.push_back (File (script).name ());
|
options.push_back (File (script).name ());
|
||||||
|
|
||||||
std::vector <std::string> matches;
|
std::vector <std::string> matches;
|
||||||
autoComplete (partial, options, matches, 3);
|
autoComplete (partial, options, matches);
|
||||||
|
|
||||||
if (matches.size () == 0)
|
if (matches.size () == 0)
|
||||||
throw format ("The report '{1}' is not recognized.", partial);
|
throw format ("The report '{1}' is not recognized.", partial);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue