Skip to content

Commit

Permalink
main: Use correct name of the executable
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Sul <mike.sul@foundries.io>
  • Loading branch information
mike-sul committed Jul 12, 2024
1 parent f517d13 commit 7cddf35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static void print_status(aklite::cli::StatusCode ret) {

// Possible return codes for install command
case aklite::cli::StatusCode::InstallAppsNeedFinalization:
std::cout << "SUCCESS: Execute `custom-sota-client run` command to finalize installation";
std::cout << "SUCCESS: Execute `sotactl run` command to finalize installation";
break;
case aklite::cli::StatusCode::InstallNeedsRebootForBootFw:
std::cout << "FAILURE: Reboot is required before installing the target";
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static std::vector<Cmd::Ptr> cmds{
};

static void print_usage() {
std::cout << "Usage:\n\t custom-sota-client [cmd] [options]\nSupported commands: ";
std::cout << "Usage:\n\t sotactl [cmd] [options]\nSupported commands: ";
for (const auto& cmd : cmds) {
std::cout << cmd->name() << " ";
}
Expand Down Expand Up @@ -61,7 +61,7 @@ int main(int argc, char** argv) {
}
auto print_usage = [](const std::string& cmd, const std::vector<std::string>& pos_opts,
const po::options_description& opts) {
std::cout << "custom-sota-client " << cmd;
std::cout << "sotactl " << cmd;
for (const auto& option : pos_opts) {
std::cout << " [" + option + "]";
}
Expand Down

0 comments on commit 7cddf35

Please sign in to comment.