pmt: start working on 1.3.0

- Add log cleaner function.
 - Introduce function flag structure.
 - Some improvements.
This commit is contained in:
2025-09-06 12:10:46 +03:00
parent 063d62fd85
commit 08e51c4a15
12 changed files with 105 additions and 20 deletions

View File

@@ -23,6 +23,7 @@ Copyright 2025 Yağız Zengin
namespace PartitionManager {
INIT {
LOGN(RFUN, INFO) << "Initializing variables of reboot function." << std::endl;
flags = {FunctionFlags::NO_MAP_CHECK, FunctionFlags::ADB_SUFFICIENT};
cmd = _app.add_subcommand("reboot", "Reboots device");
cmd->add_option("rebootTarget", rebootTarget,
"Reboot target (default: normal)");