Skip to content

Commit

Permalink
modules: Fix transaction table headers for module operations
Browse files Browse the repository at this point in the history
"Disabling modules" and "Resetting modules" is correct, because the whole
module gets disabled or reset, not individual streams. This is also
consistent with dnf4.
  • Loading branch information
pkratoch authored and kontura committed Nov 14, 2023
1 parent da5b114 commit 892e9bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libdnf5-cli/output/transaction_table.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ class ActionHeaderPrinterModule {
text = "Enabling module streams";
break;
case libdnf5::transaction::TransactionItemAction::DISABLE:
text = "Disabling module streams";
text = "Disabling modules";
break;
case libdnf5::transaction::TransactionItemAction::RESET:
text = "Resetting module streams";
text = "Resetting modules";
break;
default:
libdnf_throw_assertion(
Expand Down

0 comments on commit 892e9bb

Please sign in to comment.