Re:Linux and Powershell
by zanecodes on Tuesday January 19, 2021 @12:10PM
(#25835673)
You can shorten any argument name in PowerShell, so long as it can be disambiguated:
[ Parent
| on HN ]
> ls -di # same as Get-ChildItem -Directory; -d would pass the -Depth parameter instead
Ouch, that is actually worse than I thought. So not only can you abbreviate parameters, but when the abbreviation is ambiguous Powershell just arbitrarily picks one instead of giving an error?