Skip to content

Commit

Permalink
apply clang-format to shell.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
levkropp committed Aug 29, 2024
1 parent 893e7dd commit 05a9d6f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/client/cli/cmd/shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ mp::ReturnCode cmd::Shell::run(mp::ArgParser* parser)

if (parser->isSet("timeout"))
{
timer = cmd::make_timer(parser->value("timeout").toInt(), nullptr, cerr,
timer = cmd::make_timer(parser->value("timeout").toInt(),
nullptr,
cerr,
"Timed out waiting for instance to start.");
timer->start();
}
Expand Down Expand Up @@ -108,7 +110,10 @@ mp::ReturnCode cmd::Shell::run(mp::ArgParser* parser)
return return_code;
}

std::string cmd::Shell::name() const { return "shell"; }
std::string cmd::Shell::name() const
{
return "shell";
}

std::vector<std::string> cmd::Shell::aliases() const
{
Expand All @@ -122,7 +127,8 @@ QString cmd::Shell::short_help() const

QString cmd::Shell::description() const
{
return QStringLiteral("Open a shell prompt on the instance. If the instance is not running, it will automatically be started.");
return QStringLiteral(
"Open a shell prompt on the instance. If the instance is not running, it will automatically be started.");
}

mp::ParseCode cmd::Shell::parse_args(mp::ArgParser* parser)
Expand Down

0 comments on commit 05a9d6f

Please sign in to comment.