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