Add back to submenu in b_manage
This commit is contained in:
@@ -154,9 +154,11 @@ namespace platform {
|
|||||||
{"excel", 'e', true},
|
{"excel", 'e', true},
|
||||||
{"title", 't', true}
|
{"title", 't', true}
|
||||||
};
|
};
|
||||||
|
// tuple<Option, digit, requires value>
|
||||||
std::vector<std::tuple<std::string, char, bool>> listOptions = {
|
std::vector<std::tuple<std::string, char, bool>> listOptions = {
|
||||||
{"report", 'r', true},
|
{"report", 'r', true},
|
||||||
{"list", 'l', false},
|
{"list", 'l', false},
|
||||||
|
{"back", 'b', false},
|
||||||
{"quit", 'q', false}
|
{"quit", 'q', false}
|
||||||
};
|
};
|
||||||
auto parser = CommandParser();
|
auto parser = CommandParser();
|
||||||
@@ -170,6 +172,11 @@ namespace platform {
|
|||||||
case 'q':
|
case 'q':
|
||||||
finished = true;
|
finished = true;
|
||||||
break;
|
break;
|
||||||
|
case 'b':
|
||||||
|
// back to show the report
|
||||||
|
report(index, false);
|
||||||
|
indexList = false;
|
||||||
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
list();
|
list();
|
||||||
indexList = true;
|
indexList = true;
|
||||||
|
Reference in New Issue
Block a user