@@ -33,53 +33,53 @@ Module Name:
3333// Format: ARGUMENT(EnumName, Name, Alias, Kind, Desc)
3434// clang-format off
3535#define WSLC_ARGUMENTS (_ ) \
36- _ (All, " all" , L" a" , Kind::Flag, L" Show all regardless of state. " ) \
36+ _ (All, " all" , L" a" , Kind::Flag, Localization::WSLCCLI_AllArgDescription() ) \
3737_(Attach, " attach" , L" a" , Kind::Flag, Localization::WSLCCLI_AttachArgDescription()) \
38- _(BuildArg, " build-arg" , NO_ALIAS, Kind::Value, L" Set build-time variables (KEY=VALUE) " ) \
39- /* _(CIDFile, "cidfile", NO_ALIAS, Kind::Value, L"Write the container ID to the provided path." )*/ \
40- _(Command, " command" , NO_ALIAS, Kind::Positional, L" The command to run " ) \
38+ _(BuildArg, " build-arg" , NO_ALIAS, Kind::Value, Localization::WSLCCLI_BuildArgDescription() ) \
39+ /* _(CIDFile, "cidfile", NO_ALIAS, Kind::Value, Localization::WSLCCLI_CIDFileArgDescription() )*/ \
40+ _(Command, " command" , NO_ALIAS, Kind::Positional, Localization::WSLCCLI_CommandArgDescription() ) \
4141_(ContainerId, " container-id" , NO_ALIAS, Kind::Positional, Localization::WSLCCLI_ContainerIdArgDescription()) \
42- _(Force, " force" , L" f" , Kind::Flag, L" Delete containers even if they are running " ) \
43- _(Detach, " detach" , L" d" , Kind::Flag, L" Run container in detached mode " ) \
44- /* _(DNS, "dns", NO_ALIAS, Kind::Value, L"IP address of the DNS nameserver in resolv.conf" )*/ \
45- /* _(DNSDomain, "dns-domain", NO_ALIAS, Kind::Value, L"Set the default DNS Domain" )*/ \
46- /* _(DNSOption, "dns-option", NO_ALIAS, Kind::Value, L"Set DNS options" )*/ \
47- /* _(DNSSearch, "dns-search", NO_ALIAS, Kind::Value, L"Set DNS search domains" )*/ \
48- _(Entrypoint, " entrypoint" , NO_ALIAS, Kind::Value, L" Specifies the container init process executable " ) \
49- _(Env, " env" , L" e" , Kind::Value, L" Key=Value pairs for environment variables " ) \
50- _(EnvFile, " env-file" , NO_ALIAS, Kind::Value, L" File containing key=value pairs of env variables " ) \
51- _(File, " file" , L" f" , Kind::Value, L" Path to the Dockerfile (use \" - \" to read from stdin) " ) \
52- _(Follow, " follow" , L" f" , Kind::Flag, L" Follow log output " ) \
53- _(Format, " format" , NO_ALIAS, Kind::Value, L" Output formatting (json or table) (Default:table) " ) \
54- _(ForwardArgs, " arguments" , NO_ALIAS, Kind::Forward, L" Arguments to pass to container's init process " ) \
55- /* _(GroupId, "groupid", NO_ALIAS, Kind::Value, L"Group Id for the process" )*/ \
42+ _(Force, " force" , L" f" , Kind::Flag, Localization::WSLCCLI_ForceArgDescription() ) \
43+ _(Detach, " detach" , L" d" , Kind::Flag, Localization::WSLCCLI_DetachArgDescription() ) \
44+ /* _(DNS, "dns", NO_ALIAS, Kind::Value, Localization::WSLCCLI_DNSArgDescription() )*/ \
45+ /* _(DNSDomain, "dns-domain", NO_ALIAS, Kind::Value, Localization::WSLCCLI_DNSDomainArgDescription() )*/ \
46+ /* _(DNSOption, "dns-option", NO_ALIAS, Kind::Value, Localization::WSLCCLI_DNSOptionArgDescription() )*/ \
47+ /* _(DNSSearch, "dns-search", NO_ALIAS, Kind::Value, Localization::WSLCCLI_DNSSearchArgDescription() )*/ \
48+ _(Entrypoint, " entrypoint" , NO_ALIAS, Kind::Value, Localization::WSLCCLI_EntrypointArgDescription() ) \
49+ _(Env, " env" , L" e" , Kind::Value, Localization::WSLCCLI_EnvArgDescription() ) \
50+ _(EnvFile, " env-file" , NO_ALIAS, Kind::Value, Localization::WSLCCLI_EnvFileArgDescription() ) \
51+ _(File, " file" , L" f" , Kind::Value, Localization::WSLCCLI_FileArgDescription() ) \
52+ _(Follow, " follow" , L" f" , Kind::Flag, Localization::WSLCCLI_FollowArgDescription() ) \
53+ _(Format, " format" , NO_ALIAS, Kind::Value, Localization::WSLCCLI_FormatArgDescription() ) \
54+ _(ForwardArgs, " arguments" , NO_ALIAS, Kind::Forward, Localization::WSLCCLI_ForwardArgsDescription() ) \
55+ /* _(GroupId, "groupid", NO_ALIAS, Kind::Value, Localization::WSLCCLI_GroupIdArgDescription() )*/ \
5656_(Help, " help" , WSLC_CLI_HELP_ARG, Kind::Flag, Localization::WSLCCLI_HelpArgDescription()) \
57- _(ImageForce, " force" , L" f" , Kind::Flag, L" Delete images even if they are being used " ) \
58- _(ImageId, " image" , NO_ALIAS, Kind::Positional, L" Image name " ) \
59- _(Input, " input" , L" i" , Kind::Value, L" Provides path to the tar archive file containing the image " ) \
57+ _(ImageForce, " force" , L" f" , Kind::Flag, Localization::WSLCCLI_ImageForceArgDescription() ) \
58+ _(ImageId, " image" , NO_ALIAS, Kind::Positional, Localization::WSLCCLI_ImageIdArgDescription() ) \
59+ _(Input, " input" , L" i" , Kind::Value, Localization::WSLCCLI_InputArgDescription() ) \
6060_(Interactive, " interactive" , L" i" , Kind::Flag, Localization::WSLCCLI_InteractiveArgDescription()) \
61- _(Name, " name" , NO_ALIAS, Kind::Value, L" Name of the container " ) \
62- /* _(NoDNS, "no-dns", NO_ALIAS, Kind::Flag, L"No configuration of DNS in the container" )*/ \
63- _(NoPrune, " no-prune" , NO_ALIAS, Kind::Flag, L" Do not delete untagged parents " ) \
64- _(NoTrunc, " no-trunc" , NO_ALIAS, Kind::Flag, L" Do not truncate output " ) \
65- _(Output, " output" , L" o" , Kind::Value, L" Path for the saved image " ) \
66- _(Path, " path" , NO_ALIAS, Kind::Positional, L" Path to the build context directory " ) \
67- /* _(Progress, "progress", NO_ALIAS, Kind::Value, L"Progress type (format: none|ansi) (default: ansi)" )*/ \
68- _(Publish, " publish" , L" p" , Kind::Value, L" Publish a port from a container to host " ) \
69- /* _(Pull, "pull", NO_ALIAS, Kind::Value, L"Image pull policy (always|missing|never) (default:never)" )*/ \
70- _(Quiet, " quiet" , L" q" , Kind::Flag, L" Outputs the container IDs only " ) \
71- _(Remove, " rm" , NO_ALIAS, Kind::Flag, L" Remove the container after it stops " ) \
72- /* _(Scheme, "scheme", NO_ALIAS, Kind::Value, L"Use this scheme for registry connection" )*/ \
61+ _(Name, " name" , NO_ALIAS, Kind::Value, Localization::WSLCCLI_NameArgDescription() ) \
62+ /* _(NoDNS, "no-dns", NO_ALIAS, Kind::Flag, Localization::WSLCCLI_NoDNSArgDescription() )*/ \
63+ _(NoPrune, " no-prune" , NO_ALIAS, Kind::Flag, Localization::WSLCCLI_NoPruneArgDescription() ) \
64+ _(NoTrunc, " no-trunc" , NO_ALIAS, Kind::Flag, Localization::WSLCCLI_NoTruncArgDescription() ) \
65+ _(Output, " output" , L" o" , Kind::Value, Localization::WSLCCLI_OutputArgDescription() ) \
66+ _(Path, " path" , NO_ALIAS, Kind::Positional, Localization::WSLCCLI_PathArgDescription() ) \
67+ /* _(Progress, "progress", NO_ALIAS, Kind::Value, Localization::WSLCCLI_ProgressArgDescription() )*/ \
68+ _(Publish, " publish" , L" p" , Kind::Value, Localization::WSLCCLI_PublishArgDescription() ) \
69+ /* _(Pull, "pull", NO_ALIAS, Kind::Value, Localization::WSLCCLI_PullArgDescription() )*/ \
70+ _(Quiet, " quiet" , L" q" , Kind::Flag, Localization::WSLCCLI_QuietArgDescription() ) \
71+ _(Remove, " rm" , NO_ALIAS, Kind::Flag, Localization::WSLCCLI_RemoveArgDescription() ) \
72+ /* _(Scheme, "scheme", NO_ALIAS, Kind::Value, Localization::WSLCCLI_SchemeArgDescription() )*/ \
7373_(Session, " session" , NO_ALIAS, Kind::Value, Localization::WSLCCLI_SessionIdArgDescription()) \
74- _(SessionId, " session-id" , NO_ALIAS, Kind::Positional, L" Session ID " ) \
75- _(Signal, " signal" , L" s" , Kind::Value, L" Signal to send (default: SIGKILL) " ) \
76- _(Tag, " tag" , L" t" , Kind::Value, L" Tag for the built image " ) \
77- _(Time, " time" , L" t" , Kind::Value, L" Time in seconds to wait before executing (default 5) " ) \
78- /* _(TMPFS, "tmpfs", NO_ALIAS, Kind::Value, L"Mount tmpfs to the container at the given path" )*/ \
79- _(TTY, " tty" , L" t" , Kind::Flag, L" Open a TTY with the container process. " ) \
80- /* _(User, "user", L"u", Kind::Value, L"User ID for the process (name|uid|uid:gid)" )*/ \
81- _(Verbose, " verbose" , L" v" , Kind::Flag, L" Output verbose details " ) \
82- _(Version, " version" , L" v" , Kind::Flag, L" Show version information for this tool " ) \
83- /* _(Virtual, "virtualization", NO_ALIAS, Kind::Value, L"Expose virtualization capabilities to the container" )*/ \
84- _(Volume, " volume" , L" v" , Kind::Value, L" Bind mount a volume to the container " ) \
74+ _(SessionId, " session-id" , NO_ALIAS, Kind::Positional, Localization::WSLCCLI_SessionIdPositionalArgDescription() ) \
75+ _(Signal, " signal" , L" s" , Kind::Value, Localization::WSLCCLI_SignalArgDescription( L" SIGKILL" ) ) \
76+ _(Tag, " tag" , L" t" , Kind::Value, Localization::WSLCCLI_TagArgDescription() ) \
77+ _(Time, " time" , L" t" , Kind::Value, Localization::WSLCCLI_TimeArgDescription() ) \
78+ /* _(TMPFS, "tmpfs", NO_ALIAS, Kind::Value, Localization::WSLCCLI_TMPFSArgDescription() )*/ \
79+ _(TTY, " tty" , L" t" , Kind::Flag, Localization::WSLCCLI_TTYArgDescription() ) \
80+ /* _(User, "user", L"u", Kind::Value, Localization::WSLCCLI_UserArgDescription() )*/ \
81+ _(Verbose, " verbose" , L" v" , Kind::Flag, Localization::WSLCCLI_VerboseArgDescription() ) \
82+ _(Version, " version" , L" v" , Kind::Flag, Localization::WSLCCLI_VersionArgDescription() ) \
83+ /* _(Virtual, "virtualization", NO_ALIAS, Kind::Value, Localization::WSLCCLI_VirtualArgDescription() )*/ \
84+ _(Volume, " volume" , L" v" , Kind::Value, Localization::WSLCCLI_VolumeArgDescription() ) \
8585// clang-format on
0 commit comments