Skip to content

Commit

Permalink
Update help modal.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 16, 2021
1 parent c00f171 commit 5e5bfd6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Server/Components/Scripts/SavedScripts.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,12 @@ private void ShowAlertErrorHelp()
"For CMD, WinPS, and Bash, an exit code of anything other than 0 will also trigger an error. " +
"(The integrated PowerShell Core shell does not use exit codes.)",

"To manually generate an error based on some logic in your script, simply use " +
"'Write-Error' anywhere in your PowerShell Core or Windows PowerShell script. " +
"For PowerShell Core, any text written Warning or Error output will trigger an alert." +
"To manually generate an error based on some logic in your script, use " +
"'Write-Error' or 'Write-Warning' anywhere in your PowerShell Core script. ",

"For Windows PowerShell, you can manually trigger an alert by using 'Write-Error'.",

"For Bash and CMD, you can exit with any non-zero number."
});
}
Expand Down

0 comments on commit 5e5bfd6

Please sign in to comment.