From 05a9d6fb3f7743a79bc20ed9ab228442e175ab90 Mon Sep 17 00:00:00 2001 From: Lev Kropp Date: Thu, 29 Aug 2024 09:53:19 -0400 Subject: [PATCH] apply clang-format to shell.cpp --- src/client/cli/cmd/shell.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/client/cli/cmd/shell.cpp b/src/client/cli/cmd/shell.cpp index 2e272209e1d..f08ca5057dc 100644 --- a/src/client/cli/cmd/shell.cpp +++ b/src/client/cli/cmd/shell.cpp @@ -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(); } @@ -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 cmd::Shell::aliases() const { @@ -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)