Skip to content

Commit

Permalink
Merge pull request #3833 from canonical/giuliazanchi-minor-fix-to-lau…
Browse files Browse the repository at this point in the history
…nch-help

Update launch.cpp help text
  • Loading branch information
andrei-toterman authored Dec 11, 2024
2 parents df0a2ec + 7dc3294 commit 11869d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/client/cli/cmd/launch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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> | <url");
QCommandLineOption cloudInitOption("cloud-init",
"Path or URL to a user-data cloud-init configuration, or '-' for stdin.",
"file> | <url");
QCommandLineOption networkOption("network",
"Add a network interface to the instance, where <spec> is in the "
"\"key=value,key=value\" format, with the following keys available:\n"
Expand All @@ -235,7 +236,7 @@ mp::ParseCode cmd::Launch::parse_args(mp::ArgParser* parser)
QCommandLineOption mountOption("mount",
"Mount a local directory inside the instance. If <target> is omitted, the "
"mount point will be under /home/ubuntu/<source-dir>, where <source-dir> is "
"the name of the <source> directory",
"the name of the <source> directory.",
"source>:<target");

parser->addOptions({cpusOption, diskOption, memOption, memOptionDeprecated, nameOption, cloudInitOption,
Expand Down

0 comments on commit 11869d6

Please sign in to comment.