Skip to content

Commit

Permalink
Merge branch 'bugfix/issue_336_reboot_docstring' into 'main'
Browse files Browse the repository at this point in the history
Modify ovp8xx reboot command docstring

See merge request syntron/support/csr/ifm3d/ifm3d!416
  • Loading branch information
NikitaS20 committed Oct 24, 2024
2 parents 3f06724 + 87ac564 commit 5425c1b
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 5425c1b

Please sign in to comment.