wsl missing option "--list" #6744

Closed
opened 2026-01-31 00:46:15 +00:00 by claunia · 7 comments
Owner

Originally created by @AppFzx on GitHub (Mar 5, 2020).

Environment

Windows build number: 
Microsoft Windows [Version 10.0.17763.1039]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

at command prompt, type "wsl --list --all"

Expected behavior

should list all available distributions

Actual behavior

Error message "Invalid command line option: --list"
Capture

Originally created by @AppFzx on GitHub (Mar 5, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.17763.1039] Windows Terminal version (if applicable): Any other software? ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> at command prompt, type "wsl --list --all" # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> should list all available distributions # Actual behavior <!-- What's actually happening? --> Error message "Invalid command line option: --list" ![Capture](https://user-images.githubusercontent.com/6544880/75943822-0629ef80-5e8e-11ea-9da0-be6b5664e2f3.PNG)
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 00:46:15 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 5, 2020):

You forgot the first -.

@DHowett-MSFT commented on GitHub (Mar 5, 2020): You forgot the first `-`.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 5, 2020):

Okay, in your original screenshot you left off the first -. In your new screenshot, you’re running on 17763 which doesn’t have --list...

@DHowett-MSFT commented on GitHub (Mar 5, 2020): Okay, in your _original_ screenshot you left off the first `-`. In your new screenshot, you’re running on 17763 which doesn’t have `--list`...
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 5, 2020):

This is in no way a terminal or console issue

@DHowett-MSFT commented on GitHub (Mar 5, 2020): This is in no way a terminal or console issue
Author
Owner

@AppFzx commented on GitHub (Mar 30, 2020):

Ok, then it's a documentation issue. I'm on a fresh Win 10 Azure VM fully updated. In what version was --list deprecated?

@AppFzx commented on GitHub (Mar 30, 2020): Ok, then it's a documentation issue. I'm on a fresh Win 10 Azure VM fully updated. In what version was --list deprecated?
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 30, 2020):

wsl --list wasn't deprecated. You're using a version of Windows that predates it even existing. You probably want wslconfig /l on your version of Windows.

@DHowett-MSFT commented on GitHub (Mar 30, 2020): `wsl --list` wasn't deprecated. You're using a version of Windows that predates it even _existing_. You probably want `wslconfig /l` on your version of Windows.
Author
Owner

@ITCTOM commented on GitHub (Apr 8, 2022):

I´m using Windows Server 2019 an wsl --list is not working.
I think Microsoft have to update their documentation. your products aren´t working this way. So please invest in quality management.
And an documentation using wslconfig is also missing :-) Not a good user experience.

@ITCTOM commented on GitHub (Apr 8, 2022): I´m using Windows Server 2019 an wsl --list is not working. I think Microsoft have to update their documentation. your products aren´t working this way. So please invest in quality management. And an documentation using wslconfig is also missing :-) Not a good user experience.
Author
Owner

@zadjii-msft commented on GitHub (Apr 8, 2022):

@ITCTOM Thanks for the feedback, but the place to report something like that would be over at https://github.com/microsoft/wsl 😉

@zadjii-msft commented on GitHub (Apr 8, 2022): @ITCTOM Thanks for the feedback, but the place to report something like that would be over at https://github.com/microsoft/wsl 😉
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6744