From d590a53cd9d6aa119bff0b65a6c23e15f99ad2ef Mon Sep 17 00:00:00 2001 From: dam Date: Fri, 13 Jan 2023 00:35:06 +0000 Subject: Renamed unarchive operation to restore. --- ttt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ttt.c') diff --git a/ttt.c b/ttt.c index 9c4e210..8b8a1ca 100644 --- a/ttt.c +++ b/ttt.c @@ -1319,7 +1319,7 @@ int main(int argc, char *argv[]) { "\n" "In app commands\n" " a, A Archive selected task (except if active).\n" - " u, U Unarchive selected task.\n" + " r, R Restore selected task from archive.\n" " t, T Select currently active task (if any).\n" " d, D Duplicate selected task.\n" " n, N Create new task.\n" @@ -1768,17 +1768,17 @@ int main(int argc, char *argv[]) { break; } - case 'u': - case 'U': { + case 'r': + case 'R': { if (db != &archive || selected_task == NULL) { break; } if (is_database_full(&database)) { - read_enter_confirmation(selected_task_row, error_style, " Unable to unarchive entry: database is full. "); + read_enter_confirmation(selected_task_row, error_style, " Unable to restore entry: database is full. "); break; } if (duplicate_task(&database, selected_task) == false) { - print_error("Failed to unarchive entry."); + print_error("Failed to restore entry."); break; } delete_task(&archive, selected_task); -- cgit v1.2.3