app/override: Hint at rpm-ostree override reset

It's always nice when apps provide useful hints about other commands you
may be interested in.

For instance, if they've done `rpm-ostree override replace/remove`,
let's be helpful and tell users that they can use `rpm-ostree override
reset` to unpin packages.
This commit is contained in:
Jonathan Lebon 2021-03-05 14:27:31 -05:00 committed by OpenShift Merge Robot
parent 8f77970683
commit 0f8dd0344d

View File

@ -127,6 +127,9 @@ handle_override (RPMOSTreeSysroot *sysroot_proxy,
RPMOSTREE_DIFF_PRINT_FORMAT_FULL_MULTILINE, 0, cancellable, error))
return FALSE;
if (override_replace || override_remove)
g_print ("Use \"rpm-ostree override reset\" to undo overrides\n");
g_print ("Run \"systemctl reboot\" to start a reboot\n");
}