From 708bd3acfcae964aa68f2d95b7d972591c39c947 Mon Sep 17 00:00:00 2001 From: Chris Townsend Date: Thu, 21 Mar 2024 16:15:39 -0400 Subject: [PATCH] [cli/stop] Make force a long option only This will make it explicit that the user wants to force stop an instance. --- src/client/cli/cmd/stop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/cli/cmd/stop.cpp b/src/client/cli/cmd/stop.cpp index e0740da17d1..984201d2d4c 100644 --- a/src/client/cli/cmd/stop.cpp +++ b/src/client/cli/cmd/stop.cpp @@ -84,7 +84,7 @@ mp::ParseCode cmd::Stop::parse_args(mp::ArgParser* parser) QCommandLineOption time_option({"t", "time"}, "Time from now, in minutes, to delay shutdown of the instance", "time", "0"); QCommandLineOption cancel_option({"c", "cancel"}, "Cancel a pending delayed shutdown"); - QCommandLineOption force_option({"f", "force"}, "Force switching the instance off"); + QCommandLineOption force_option("force", "Force switching the instance off"); parser->addOptions({all_option, time_option, cancel_option, force_option}); auto status = parser->commandParse(this);