master
h 119 lines 4.78 KB
Raw
1 /*++
2
3 Copyright (c) Microsoft. All rights reserved.
4
5 Module Name:
6
7 wsl.h
8
9 Abstract:
10
11 This file contains command line arguments for wsl.exe.
12
13 --*/
14
15 #pragma once
16
17 #define WSL_BINARY_NAME L"wsl.exe"
18 #define WSL_CHANGE_DIRECTORY_ARG L"--cd"
19 #define WSL_CWD_HOME L"~"
20 #define WSL_DEBUG_SHELL_ARG_LONG L"--debug-shell"
21 #define WSL_DISTRO_ARG L"-d"
22 #define WSL_DISTRO_ARG_LONG L"--distribution"
23 #define WSL_DISTRIBUTION_ID_ARG L"--distribution-id"
24 #define WSL_EXEC_ARG L"-e"
25 #define WSL_EXEC_ARG_LONG L"--exec"
26 #define WSL_EXPORT_ARG L"--export"
27 #define WSL_EXPORT_ARG_STDOUT L"-"
28 #define WSL_EXPORT_ARG_FORMAT_OPTION L"--format"
29 #define WSL_EXPORT_ARG_VHD_OPTION L"--vhd"
30 #define WSL_HELP_ARG L"--help"
31 #define WSL_IMPORT_ARG L"--import"
32 #define WSL_IMPORT_ARG_STDIN L"-"
33 #define WSL_IMPORT_ARG_VERSION L"--version"
34 #define WSL_IMPORT_ARG_VHD L"--vhd"
35 #define WSL_IMPORT_INPLACE_ARG L"--import-in-place"
36 #define WSL_INSTALL_ARG L"--install"
37 #define WSL_INSTALL_ARG_DIST_OPTION L'd'
38 #define WSL_INSTALL_ARG_DIST_OPTION_LONG L"--distribution"
39 #define WSL_INSTALL_ARG_ENABLE_WSL1_LONG L"--enable-wsl1"
40 #define WSL_INSTALL_ARG_FIXED_VHD L"--fixed-vhd"
41 #define WSL_INSTALL_ARG_FROM_FILE_OPTION L'f'
42 #define WSL_INSTALL_ARG_FROM_FILE_LONG L"--from-file"
43 #define WSL_INSTALL_ARG_LEGACY_LONG L"--legacy"
44 #define WSL_INSTALL_ARG_LOCATION_OPTION L'l'
45 #define WSL_INSTALL_ARG_LOCATION_LONG L"--location"
46 #define WSL_INSTALL_ARG_NAME_LONG L"--name"
47 #define WSL_INSTALL_ARG_NO_LAUNCH_OPTION L'n'
48 #define WSL_INSTALL_ARG_NO_DISTRIBUTION_OPTION L"--no-distribution"
49 #define WSL_INSTALL_ARG_NO_LAUNCH_OPTION_LONG L"--no-launch"
50 #define WSL_INSTALL_ARG_VHD_SIZE L"--vhd-size"
51 #define WSL_INSTALL_ARG_VERSION L"--version"
52 #define WSL_INSTALL_ARG_WEB_DOWNLOAD_LONG L"--web-download"
53 #define WSL_INSTALL_ARG_PRERELEASE_LONG L"--pre-release"
54 #define WSL_INSTALL_ARG_PROMPT_BEFORE_EXIT_OPTION L"--prompt-before-exit"
55 #define WSL_LIST_ARG L"-l"
56 #define WSL_LIST_ARG_LONG L"--list"
57 #define WSL_LIST_ARG_ALL_OPTION L"--all"
58 #define WSL_LIST_ARG_ONLINE_OPTION L'o'
59 #define WSL_LIST_ARG_ONLINE_OPTION_LONG L"--online"
60 #define WSL_LIST_ARG_QUIET_OPTION L'q'
61 #define WSL_LIST_ARG_QUIET_OPTION_LONG L"--quiet"
62 #define WSL_LIST_ARG_RUNNING_OPTION L"--running"
63 #define WSL_LIST_ARG_VERBOSE_OPTION L'v'
64 #define WSL_LIST_ARG_VERBOSE_OPTION_LONG L"--verbose"
65 #define WSL_LIST_HEADER_FRIENDLY_NAME L"FRIENDLY NAME"
66 #define WSL_LIST_HEADER_NAME L"NAME"
67 #define WSL_LIST_HEADER_STATE L"STATE"
68 #define WSL_LIST_HEADER_VERSION L"VERSION"
69 #define WSL_MANAGE_ARG L"--manage"
70 #define WSL_MANAGE_ARG_ALLOW_UNSAFE L"--allow-unsafe"
71 #define WSL_MANAGE_ARG_MOVE_OPTION L'm'
72 #define WSL_MANAGE_ARG_MOVE_OPTION_LONG L"--move"
73 #define WSL_MANAGE_ARG_RESIZE_OPTION L'r'
74 #define WSL_MANAGE_ARG_RESIZE_OPTION_LONG L"--resize"
75 #define WSL_MANAGE_ARG_SET_SPARSE_OPTION L's'
76 #define WSL_MANAGE_ARG_SET_SPARSE_OPTION_LONG L"--set-sparse"
77 #define WSL_MANAGE_ARG_SET_DEFAULT_USER_OPTION_LONG L"--set-default-user"
78 #define WSL_MANAGE_ARG_COMPACT_OPTION_LONG L"--compact"
79 #define WSL_MOUNT_ARG L"--mount"
80 #define WSL_MOUNT_ARG_VHD_OPTION_LONG L"--vhd"
81 #define WSL_MOUNT_ARG_BARE_OPTION_LONG L"--bare"
82 #define WSL_MOUNT_ARG_NAME_OPTION_LONG L"--name"
83 #define WSL_MOUNT_ARG_TYPE_OPTION_LONG L"--type"
84 #define WSL_MOUNT_ARG_OPTIONS_OPTION_LONG L"--options"
85 #define WSL_MOUNT_ARG_PARTITION_OPTION_LONG L"--partition"
86 #define WSL_MOUNT_ARG_BARE_OPTION L'b'
87 #define WSL_MOUNT_ARG_NAME_OPTION L'n'
88 #define WSL_MOUNT_ARG_TYPE_OPTION L't'
89 #define WSL_MOUNT_ARG_OPTIONS_OPTION L'o'
90 #define WSL_MOUNT_ARG_PARTITION_OPTION L'p'
91 #define WSL_PARENT_CONSOLE_ARG L"--parent-console"
92 #define WSL_SET_DEFAULT_DISTRO_ARG L"-s"
93 #define WSL_SET_DEFAULT_DISTRO_ARG_LEGACY L"--setdefault"
94 #define WSL_SET_DEFAULT_DISTRO_ARG_LONG L"--set-default"
95 #define WSL_SET_DEFAULT_VERSION_ARG L"--set-default-version"
96 #define WSL_SET_VERSION_ARG L"--set-version"
97 #define WSL_SHELL_OPTION_ARG L"--shell-type"
98 #define WSL_SHELL_OPTION_ARG_LOGIN_OPTION L"login"
99 #define WSL_SHELL_OPTION_ARG_NOSHELL_OPTION L"none"
100 #define WSL_SHELL_OPTION_ARG_STANDARD_OPTION L"standard"
101 #define WSL_SHUTDOWN_ARG L"--shutdown"
102 #define WSL_SHUTDOWN_OPTION_FORCE L"--force"
103 #define WSL_STATUS_ARG L"--status"
104 #define WSL_STOP_PARSING_ARG L"--"
105 #define WSL_SYSTEM_DISTRO_ARG L"--system"
106 #define WSL_TERMINATE_ARG L"-t"
107 #define WSL_TERMINATE_ARG_LONG L"--terminate"
108 #define WSL_UNINSTALL_ARG L"--uninstall"
109 #define WSL_UNMOUNT_ARG L"--unmount"
110 #define WSL_UNREGISTER_ARG L"--unregister"
111 #define WSL_UPDATE_ARG L"--update"
112 #define WSL_UPDATE_ARG_CONFIRM_OPTION_LONG L"--confirm"
113 #define WSL_UPDATE_ARG_PRE_RELEASE_OPTION_LONG L"--pre-release"
114 #define WSL_UPDATE_ARG_PROMPT_OPTION_LONG L"--prompt-before-exit"
115 #define WSL_UPDATE_ARG_WEB_DOWNLOAD_OPTION_LONG L"--web-download"
116 #define WSL_USER_ARG L"-u"
117 #define WSL_USER_ARG_LONG L"--user"
118 #define WSL_VERSION_ARG L"-v"
119 #define WSL_VERSION_ARG_LONG L"--version"