Title: pwsh command line help should not include WindowStyle on Linux and macOS. · Issue #5965 · PowerShell/PowerShell · GitHub
Open Graph Title: pwsh command line help should not include WindowStyle on Linux and macOS. · Issue #5965 · PowerShell/PowerShell
X Title: pwsh command line help should not include WindowStyle on Linux and macOS. · Issue #5965 · PowerShell/PowerShell
Description: WindowStyle should either be removed from the output or implement a better error message stating it is unsupported on the current platform. pwsh -WindowStyle Normal The argument '-WindowStyle' is not recognized as the name of a script fi...
Open Graph Description: WindowStyle should either be removed from the output or implement a better error message stating it is unsupported on the current platform. pwsh -WindowStyle Normal The argument '-WindowStyle' is n...
X Description: WindowStyle should either be removed from the output or implement a better error message stating it is unsupported on the current platform. pwsh -WindowStyle Normal The argument '-WindowStyle...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5965
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pwsh command line help should not include WindowStyle on Linux and macOS.","articleBody":"WindowStyle should either be removed from the output or implement a better error message stating it is unsupported on the current platform.\r\n\r\n```bash\r\npwsh -WindowStyle Normal\r\nThe argument '-WindowStyle' is not recognized as the name of a script file. \r\nCheck the spelling of the name, or if a path was included, verify that the \r\npath is correct and try again.\r\n```\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```bash\r\npwsh -help\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\nUsage: pwsh[.exe] [[-File] \u003cfilePath\u003e [args]]\r\n [-Command { - | \u003cscript-block\u003e [-args \u003carg-array\u003e]\r\n | \u003cstring\u003e [\u003cCommandParameters\u003e] } ]\r\n [-ConfigurationName \u003cstring\u003e] [-EncodedCommand \u003cBase64EncodedCommand\u003e]\r\n [-ExecutionPolicy \u003cExecutionPolicy\u003e] [-InputFormat {Text | XML}]\r\n [-Interactive] [-NoExit] [-NoLogo] [-NonInteractive] [-NoProfile]\r\n [-OutputFormat {Text | XML}] [-Version]\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```bash\r\nUsage: pwsh[.exe] [[-File] \u003cfilePath\u003e [args]]\r\n [-Command { - | \u003cscript-block\u003e [-args \u003carg-array\u003e]\r\n | \u003cstring\u003e [\u003cCommandParameters\u003e] } ]\r\n [-ConfigurationName \u003cstring\u003e] [-EncodedCommand \u003cBase64EncodedCommand\u003e]\r\n [-ExecutionPolicy \u003cExecutionPolicy\u003e] [-InputFormat {Text | XML}]\r\n [-Interactive] [-NoExit] [-NoLogo] [-NonInteractive] [-NoProfile]\r\n [-OutputFormat {Text | XML}] [-Version] [-WindowStyle \u003cstyle\u003e]\r\n\r\n...\r\n\r\n-WindowStyle | -w\r\n Sets the window style to Normal, Minimized, Maximized or Hidden.\r\n```\r\nEnvironment data\r\n----------------\r\n```powershell\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0\r\nPSEdition Core\r\nGitCommitId v6.0.0\r\nOS Darwin 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RE...\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/thezim","@type":"Person","name":"thezim"},"datePublished":"2018-01-20T01:17:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5965/PowerShell/issues/5965"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e08ce70-7022-8783-cdb4-1639154ff318 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBEE:2FCF6D:29DECBF:3CCDF55:6A550FC2 |
| html-safe-nonce | b2893dfbc0ada05098e5f1f69490b81746747c197cfb73705ddaafb181ee3b85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkVFOjJGQ0Y2RDoyOURFQ0JGOjNDQ0RGNTU6NkE1NTBGQzIiLCJ2aXNpdG9yX2lkIjoiODM2NTU4ODE4ODI1ODE3Njk2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f9101e367e168166c2d3b5c4b3a0a7d38b33b4f7e2c8f5cc65d88e3d8437a847 |
| hovercard-subject-tag | issue:290151918 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/5965/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2358625354ad13add4dbecb2eedc10ba89bbeb43db4622fa2d7366c3c18fd2a9/PowerShell/PowerShell/issues/5965 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2358625354ad13add4dbecb2eedc10ba89bbeb43db4622fa2d7366c3c18fd2a9/PowerShell/PowerShell/issues/5965 |
| og:image:alt | WindowStyle should either be removed from the output or implement a better error message stating it is unsupported on the current platform. pwsh -WindowStyle Normal The argument '-WindowStyle' is n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thezim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0f2adbaa4b43ea302b02981f637a782ae92ed6dc |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width