- Your Windows build number: (Type
verat a Windows Command Prompt)
10.0.18917.1000 - What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
output of wsl --help in 18917:
Microsoft Windows [版本 10.0.18917.1000]
(c) 2019 Microsoft Corporation。保留所有权利。
C:\Users\w1210>wsl --help
版权所有 (c) Microsoft Corporation。已保留所有权限。
用法: wsl.exe [Argument] [Options...] [命令行]
用于运行 Linux 二进制文件的参数:
如果未提供任何命令行, wsl.exe 将启动默认 shell。
--exec,-e <CommandLine>
执行指定的命令, 而不使用默认的 Linux shell。
--
按原样传递剩余的命令行。
选项:
--分布,-d <Distro>
运行指定的分发。
--user,-u <UserName>
以指定用户身份运行。
用于管理适用于 Linux 的 Windows 子系统的参数:
--导出 <Distro> <FileName>
将分发导出到 tar 文件。
文件名可以是-用于标准输出。
--导入 <Distro> <InstallLocation> <FileName> [选项]
将指定的 tar 文件作为新分发导入。
文件名可以是-用于标准输入。
选项:
--版本 <Version>
指定要用于新分发的版本。
--list,-l [选项]
列出分发。
选项:
-所有
列出所有分发内容, 包括当前未分配的
正在安装或卸载。
--正在运行
仅列出当前正在运行的分发。
--安静,-q
仅显示分布名称。
--详细信息,-v
显示有关所有分配的详细信息。
--设置-默认,-s <Distro>
将分发设置为默认值。
--设置-默认-版本 <Version>
更改新分发的默认安装版本。
--set-版本 <Distro> <Version>
更改指定分发的版本。
--关闭
终止所有正在运行的分发。
--终止,-t <Distro>
终止指定的分发。
--注销 <Distro>
注销分发。
--帮助
显示用法信息。
output of wsl --help in 18362:
Microsoft Windows [版本 10.0.18362.175]
(c) 2019 Microsoft Corporation。保留所有权利。
C:\Users\w1210>wsl --help
版权所有 (c) Microsoft Corporation。保留所有权利。
用法: wsl.exe [参数] [选项...] [CommandLine]
用于运行 Linux 二进制文件的参数:
如果未提供任何命令行,wsl.exe 将启动默认 shell。
--exec, -e <CommandLine>
在不使用默认 Linux shell 的情况下执行指定的命令。
--
按原样传递剩余的命令行。
选项:
--distribution, -d <DistributionName>
运行指定的分发。
--user, -u <UserName>
以指定用户身份运行。
用于管理 Windows Subsystem for Linux 的参数:
--export <DistributionName> <FileName>
将分发导出到 tar 文件。
文件名可为 - 以便标准输出。
--import <DistributionName> <InstallLocation> <FileName>
将指定的 tar 文件作为新分发导入。
文件名可为 - 以便标准输入。
--list, -l [选项]
列出分发。
选项:
--all
列出所有分发,包括当前
正在安装或卸载的分发。
--running
仅列出当前正在运行的分发。
-setdefault, -s <DistributionName>
将分发设置为默认值。
--terminate, -t <DistributionName>
终止分发。
--unregister <DistributionName>
注销分发。
--upgrade <DistributionName>
将分发升级为 WslFs 文件系统格式。
--help
显示用法信息。
-
What's wrong / what should be happening instead:
- command line arguments should't be translated
- 已保留所有权限 -> 保留所有权利
- 分发 -> 发行版