Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a Last-Known-Good feature #437

Merged
merged 13 commits into from
Nov 27, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@
<method name="getLoaded">
<arg name="loaded" type="b" direction="out" />
</method>
<method name="restorePatchList">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<method name="backupWorkingPatchList">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<method name="resolveFailure">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
Expand Down
12 changes: 7 additions & 5 deletions src/bin/patchmanager-daemon/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ void help()
{
std::cout << "Patchmanager " << BUILD_VERSION << std::endl;
std::cout << "Usage:" << std::endl;
std::cout << " patchmanager [--help] : Print this help text" << std::endl;
std::cout << " patchmanager -a <Patch> : Enable and activate a Patch" << std::endl;
std::cout << " patchmanager -u <Patch> : Deactivate and disable (unapply) a Patch" << std::endl;
std::cout << " patchmanager --unapply-all : Deactivate and disable (unapply) all Patches" << std::endl;
std::cout << " patchmanager --daemon : Start Patchmanager as daemon" << std::endl;
std::cout << " patchmanager [--help] : Print this help text" << std::endl;
std::cout << " patchmanager -a <Patch> : Enable and activate a Patch" << std::endl;
std::cout << " patchmanager -u <Patch> : Deactivate and disable (unapply) a Patch" << std::endl;
std::cout << " patchmanager --unapply-all : Deactivate and disable (unapply) all Patches" << std::endl;
std::cout << " patchmanager --backup-working : Save list of enabled Patches as \"working\"" << std::endl;
std::cout << " patchmanager --restore-working : Enable backup list of \"working\" Patches" << std::endl;
std::cout << " patchmanager --daemon : Start Patchmanager as daemon" << std::endl;
}

int main(int argc, char **argv)
Expand Down
Loading