Skip to content

Commit

Permalink
main.c: rename lxuid to lxguid
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 authored Nov 14, 2019
1 parent 115ed14 commit e379c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int main()
wprintf(L"off");
hr = S_OK;
}
else if(WARGV_CMP(2,L"--lxuid"))
else if(WARGV_CMP(2,L"--lxguid") | WARGV_CMP(2,L"--lxuid"))
{
struct WslInstallation wsl = WslGetInstallationInfo(TargetName);
if(wsl.uuid == NULL)
Expand Down Expand Up @@ -387,7 +387,7 @@ void show_usage()
wprintf(L" - `--default-uid`: Get the default user uid in this distro\n");
wprintf(L" - `--append-path`: Get on/off status of Append Windows PATH to $PATH\n");
wprintf(L" - `--mount-drive`: Get on/off status of Mount drives\n");
wprintf(L" - `--lxuid`: Get LxUID key for this distro\n\n");
wprintf(L" - `--lxguid`: Get WSL GUID key for this distro\n\n");
wprintf(L" backup\n");
wprintf(L" - Output backup.tar.gz to the current directory using tar command.\n\n");
wprintf(L" clean\n");
Expand Down

0 comments on commit e379c0e

Please sign in to comment.