Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update launch.cpp help text #3833

Merged
merged 3 commits into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading