From 1bab940ffa07ec1eeab00ddd4995eb13d8dbe042 Mon Sep 17 00:00:00 2001 From: Giulia Zanchi Date: Wed, 11 Dec 2024 15:51:55 +0100 Subject: [PATCH 1/3] Update launch.cpp help text Minor update to add a missing "." at the end of the help text for the --mount option. Signed-off-by: Giulia Zanchi --- src/client/cli/cmd/launch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/cli/cmd/launch.cpp b/src/client/cli/cmd/launch.cpp index d402681f49..a4ba8f1927 100644 --- a/src/client/cli/cmd/launch.cpp +++ b/src/client/cli/cmd/launch.cpp @@ -235,7 +235,7 @@ mp::ParseCode cmd::Launch::parse_args(mp::ArgParser* parser) QCommandLineOption mountOption("mount", "Mount a local directory inside the instance. If is omitted, the " "mount point will be under /home/ubuntu/, where is " - "the name of the directory", + "the name of the directory.", "source>:addOptions({cpusOption, diskOption, memOption, memOptionDeprecated, nameOption, cloudInitOption, From bddd63312e22a190fa8cdcc37f9013590be9870c Mon Sep 17 00:00:00 2001 From: Giulia Zanchi Date: Wed, 11 Dec 2024 16:10:21 +0100 Subject: [PATCH 2/3] Update launch.cpp Fixed punctuation in help text for --cloud-init option Signed-off-by: Giulia Zanchi --- src/client/cli/cmd/launch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/cli/cmd/launch.cpp b/src/client/cli/cmd/launch.cpp index a4ba8f1927..fef09c8c35 100644 --- a/src/client/cli/cmd/launch.cpp +++ b/src/client/cli/cmd/launch.cpp @@ -220,7 +220,7 @@ mp::ParseCode cmd::Launch::parse_args(mp::ArgParser* parser) QCommandLineOption nameOption({"n", "name"}, name_option_desc, "name"); QCommandLineOption cloudInitOption( - "cloud-init", "Path or URL to a user-data cloud-init configuration, or '-' for stdin", "file> | | is in the " "\"key=value,key=value\" format, with the following keys available:\n" From 7dc32942a35d57c2a742f66899ae65b460c3e447 Mon Sep 17 00:00:00 2001 From: Andrei Toterman Date: Wed, 11 Dec 2024 16:15:37 +0100 Subject: [PATCH 3/3] fix formatting --- src/client/cli/cmd/launch.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/cli/cmd/launch.cpp b/src/client/cli/cmd/launch.cpp index fef09c8c35..c992378a38 100644 --- a/src/client/cli/cmd/launch.cpp +++ b/src/client/cli/cmd/launch.cpp @@ -219,8 +219,9 @@ mp::ParseCode cmd::Launch::parse_args(mp::ArgParser* parser) .arg(petenv_name, mp::home_automount_dir, valid_name_desc); QCommandLineOption nameOption({"n", "name"}, name_option_desc, "name"); - QCommandLineOption cloudInitOption( - "cloud-init", "Path or URL to a user-data cloud-init configuration, or '-' for stdin.", "file> | | is in the " "\"key=value,key=value\" format, with the following keys available:\n"