Skip to content

Commit

Permalink
[cli/stop] Make force a long option only
Browse files Browse the repository at this point in the history
This will make it explicit that the user wants to force stop an
instance.
  • Loading branch information
Chris Townsend committed Mar 21, 2024
1 parent 5a95aa3 commit 708bd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/cli/cmd/stop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 708bd3a

Please sign in to comment.