You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
while help an alias with *ending,like help dir* or help ls*,the output is in confusion #8541
The way the help function works is that if a single item is returned, it passes it through the default pager. In this case, if AliasHelpInfo is returned, it should probably just be output to the console as the content is too small to pass to a pager. It would then have the same behavior as get-help dir*. This is different than #8247.
I would expect command help to be displayed if there is only one help item found. I find the alias record pretty useless. And the result of HELP DIR* -S is utter disaster.
Activity
iSazonov commentedon Dec 28, 2018
Perhaps it come from #8247. /cc Steve Lee (@SteveL-MSFT)
SteveL-MSFT commentedon Dec 28, 2018
The way the
helpfunction works is that if a single item is returned, it passes it through the default pager. In this case, if AliasHelpInfo is returned, it should probably just be output to the console as the content is too small to pass to a pager. It would then have the same behavior asget-help dir*. This is different than #8247.adityapatwardhan commentedon Jan 10, 2019
Steve Lee (@SteveL-MSFT) I believe this can be closed now.
yecril71pl commentedon Jul 22, 2020
I would expect command help to be displayed if there is only one help item found. I find the alias record pretty useless. And the result of
HELP DIR* -Sis utter disaster.