mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Match localized answers for confirmation Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
parent
f9d74c9bed
commit
2bb601e6f2
3 changed files with 4 additions and 2 deletions
|
@ -70,8 +70,8 @@ static inline unsigned round_up_to (unsigned n, unsigned target)
|
|||
bool confirm (const std::string& question)
|
||||
{
|
||||
std::vector <std::string> options;
|
||||
options.push_back ("yes");
|
||||
options.push_back ("no");
|
||||
options.push_back (STRING_UTIL_CONFIRM_YES);
|
||||
options.push_back (STRING_UTIL_CONFIRM_NO);
|
||||
|
||||
std::string answer;
|
||||
std::vector <std::string> matches;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue