-
Notifications
You must be signed in to change notification settings - Fork 8.1k
pwsh -Login support #10050
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
pwsh -Login support #10050
Changes from all commits
ca6e8c0
33519b4
43cf25a
9d7137c
53e698e
025b22c
ff4de63
95c29a6
d371d6b
0571e5a
965c0ff
137f267
abda72e
8638d4e
023746e
e20a16e
17b63ec
a8636f2
9c49ed1
d09f6c2
964eaeb
e97369d
96594d3
be073a3
3b15bba
8cf5c8a
c123a4f
3353537
d242340
7b0e08e
6e2937a
b78528a
9371bd0
6f54ead
581d7e0
336dc89
09c424a
147d2a7
826d945
50429fb
07e248c
1d8e1c5
da0f75f
4b1f521
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -183,7 +183,7 @@ internal class CommandLineParameterParser | |
| "file", | ||
rjmholt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
rjmholt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
rjmholt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
rjmholt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
SteveL-MSFT marked this conversation as resolved.
Show resolved
Hide resolved
SteveL-MSFT marked this conversation as resolved.
Show resolved
Hide resolved
SteveL-MSFT marked this conversation as resolved.
Show resolved
Hide resolved
SteveL-MSFT marked this conversation as resolved.
Show resolved
Hide resolved
SteveL-MSFT marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "help", | ||
| "inputformat", | ||
| "loadprofile", | ||
| "login", | ||
| "noexit", | ||
| "nologo", | ||
| "noninteractive", | ||
|
|
@@ -710,21 +710,23 @@ private void ParseHelper(string[] args) | |
| _noExit = false; | ||
| break; | ||
| } | ||
| else if (MatchSwitch(switchKey, "help", "h") || MatchSwitch(switchKey, "?", "?")) | ||
|
|
||
| if (MatchSwitch(switchKey, "help", "h") || MatchSwitch(switchKey, "?", "?")) | ||
| { | ||
| _showHelp = true; | ||
| _showExtendedHelp = true; | ||
| _abortStartup = true; | ||
| } | ||
| else if (MatchSwitch(switchKey, "login", "l")) | ||
|
||
| { | ||
| // This handles -Login on Windows only, where it does nothing. | ||
| // On *nix, -Login is handled much earlier to improve startup performance. | ||
| } | ||
| else if (MatchSwitch(switchKey, "noexit", "noe")) | ||
| { | ||
| _noExit = true; | ||
| noexitSeen = true; | ||
| } | ||
| else if (MatchSwitch(switchKey, "loadprofile", "l")) | ||
| { | ||
| _skipUserInit = false; | ||
| } | ||
| else if (MatchSwitch(switchKey, "noprofile", "nop")) | ||
| { | ||
| _skipUserInit = true; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.