mbl-35 / wslctl

Provide a single command wslctl to create, backup and manage WSL (Windows Subsystem for Linux) instances on a windows host
0 stars 1 forks source link

Display error wslctl ls #13

Closed Tokarif closed 2 years ago

Tokarif commented 2 years ago

when only one wsl instance is created, the list does not correctly display, as follows:

PS C:\Users\user> wslctl ls
Wsl instances:
  t                         -                      -
  r                         -                      -
  u                         -                      -
  s                         -                      -
  t                         -                      -
  y                         -                      -
*                           -                      -
  (                         -                      -
  p                         -                      -
  a                         -                      -
  r                         -                      -
*                           -                      -
  d                         -                      -
  é                         -                      -
  f                         -                      -
  a                         -                      -
  u                         -                      -
  t                         -                      -
  )                         -                      -
PS C:\Users\user> wsl -l -v
  NAME      STATE           VERSION
* trusty    Running         2