-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please support --preserve-env
as an alias for -E
#21
Comments
-E
/--preserve-env
--preserve-env
as an alias for -E
@gerardog That wasn't mentioned in the documentation at https://learn.microsoft.com/en-us/windows/sudo/ , so I didn't know it was supported. I've corrected this issue to just request |
Yep it was a total brainfart to not name it the same thing. Fortunately, this is super easy for us to fix, thanks! MSFT:48926819 internally |
Merged to OS in !10282477, which was OS.2020 commit 91ba4484. Thanks! |
@zadjii-msft Thank you! Does that include |
In
sudo
for Linux, the long option name for-E
is--preserve-env
; please support that as the long version of-E
.--preserve-env
additionally accepts an optional list of environment variables, to only preserve those variables rather than the entire environment.The text was updated successfully, but these errors were encountered: