-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module
Description
If you look at the parameters of Get-ChildItem, there's an alias:
> (Get-Command Get-ChildItem).Parameters["Directory"].Aliases
ad
d
The problem is that the d
alias CANNOT ever work, because the Directory
parameter is dynamic, and Get-ChildItem
already has a parameter that starts with "d" (the "Depth" parameter), so the -d
switch always gets bound to the -Depth
parameter (and the user gets prompted for an actual value).
Can we remove that alias, since it's just confusing users?
mklement0 and daxian-dbw
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module