-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add ConfigurationFile option to syntax frontmatter #18093
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
Conversation
[-ConfigurationName <string>] [-CustomPipeName <string>] | ||
[-ConfigurationName <string>] [-ConfigurationFile <filePath>] | ||
[-CustomPipeName <string>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the logic of grouping options on the same line? Just arbitrary saving of space for related ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes sense to list the configuration options adjacent to each other. They are grouped to reduce the number of lines of output but the line length is limited to 80 columns.
Move EncodedCommand to line above
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
@@ -145,8 +145,8 @@ | |||
<value>Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] | |||
[-Command { - | <script-block> [-args <arg-array>] | |||
| <string> [<CommandParameters>] } ] | |||
[-ConfigurationName <string>] [-CustomPipeName <string>] | |||
[-EncodedCommand <Base64EncodedCommand>] | |||
[-ConfigurationName <string>] [-ConfigurationFile <filePath>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo? I'd expect ABC order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not consistent on the ABC order elsewhere. I think it is fine as is.
/backport to release/v7.3.0-rc.1 |
🎉 Handy links: |
🎉 Handy links: |
PR Summary
Fixes #18092 - Help text for pwsh does not list -ConfigurationFile in the opening syntax for v7.3.
This PR adds the missing option.
PR Context
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).