Commit Graph
12 Commits
Author SHA1 Message Date
Steve Lee a0e6807bb2 Add error if invalid -ExecutionPolicy is passed to pwsh (#20460) 2023-10-16 15:14:11 -07:00
Steve Lee da7fa3f771 Make pwsh server modes implicitly not show banner (#17921) 2022-08-23 10:47:01 -07:00
Paul Higinbotham a8d55851e0 Add the -ConfigurationFile command line parameter to pwsh to support local session configuration (#17447) 2022-06-06 12:12:53 -07:00
6933c5b473 Only allow -File to accept .ps1 scripts on Windows (#15859)
Co-authored-by: Ilya <darpa@yandex.ru>
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>
2021-08-03 13:43:00 -07:00
Steve Lee fc1d5ef096 Default to MTA on Windows platforms where STA is not supported (#15106) 2021-04-22 08:38:13 -07:00
David Bar-On 20d917c086 Fix issue #12013 - not allow mixed dash and slash in command line parameter prefix (#15142) 2021-04-13 13:20:28 -07:00
xtqqczze f14c76aab9 Enable SA1516: Elements should be separated by blank line (#14137)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md
2020-11-20 16:11:36 +05:00
xtqqczze 1d7a93c2e0 Enable CA1825: Avoid zero-length array allocations (#13961) 2020-11-04 08:56:26 +05:00
xtqqczze a2a938e964 Fix IDE0044: MakeFieldReadonly part 10 (#13893)
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044
2020-10-30 12:20:06 +05:00
Ilya 3b83a686a1 Add null check for args in CommandLineParser (#13451) 2020-08-28 12:03:30 -07:00
Dongbo Wang 6615fa3df6 Fix test hooks for CommandLineParameterParser (#13459) 2020-08-21 11:59:30 -07:00
Ilya 68d46c1792 Refactor command line parser to do early parsing (#11482) 2020-08-12 09:58:46 -07:00