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:
parent
8f77970683
commit
0f8dd0344d
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user