Skip to content

Commit

Permalink
Modify ovp8xx reboot command docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaS20 committed Oct 24, 2024
1 parent 3f06724 commit 87ac564
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions modules/tools/src/libifm3d_tools/common/reboot_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,14 @@ ifm3d::RebootApp::Execute(CLI::App* app)
CLI::App*
ifm3d::RebootApp::CreateCommand(CLI::App* parent)
{
CLI::App* command =
parent
->add_subcommand(
"reboot",
"Reboot the sensor, potentially into recovery mode. \nRecovery mode "
"is useful for putting the "
"sensor into a state where it can be flashed with new firmware.")
->require_subcommand(0, 0);

command->add_flag("-r,--recovery",
this->recovery,
"Reboot into recovery mode");
CLI::App* command = parent->add_subcommand("reboot", "Reboot the sensor")
->require_subcommand(0, 0);

command->add_flag(
"-r,--recovery",
this->recovery,
"Reboot into recovery mode.\nRecovery mode is useful for putting the "
"sensor into a state where it can be flashed with new firmware.");

return command;
}
Expand Down

0 comments on commit 87ac564

Please sign in to comment.