diff options
| author | Simon Johnsson <simon.johnsson@canonical.com> | 2025-10-02 12:49:58 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-10-02 10:49:58 +0000 |
| commit | a65dca5d5e9b4bc71722bc91a5641126a1b0ec61 (patch) | |
| tree | 8a49e2f43956bcb5fb5e6976a3636b95ebc1248e /cmdline | |
| parent | b1e10340d5b9cd6fd12f968b5ddd9b7a70b827cb (diff) | |
Add history undo, redo, and rollback features
Diffstat (limited to 'cmdline')
| -rw-r--r-- | cmdline/apt.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc index 545b6d0b4..9acde0b32 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -95,6 +95,9 @@ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ // history stuff {"history-list", &DoHistoryList, _("show list of history")}, {"history-info", &DoHistoryInfo, _("show info on specific transactions")}, + {"history-redo", &DoHistoryRedo, _("redo transactions")}, + {"history-undo", &DoHistoryUndo, _("undo transactions")}, + {"history-rollback", &DoHistoryRollback, _("rollback transactions")}, // misc {"edit-sources", &EditSources, _("edit the source information file")}, |
