mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-26 01:43:37 +01:00
Update README.md
This commit is contained in:
parent
d55bc441c2
commit
53948a2a3d
@ -73,10 +73,10 @@ Script Standards
|
||||
Each script should support the following rules:
|
||||
|
||||
* **Rule 1:** to support PowerShell on Linux the first line reads: #!/snap/bin/powershell
|
||||
* **Rule 2:** a metadata header containing the syntax, description, author, source, and license
|
||||
* **Rule 2:** add a metadata header containing the syntax, description, author, source, and license
|
||||
* **Rule 3:** prefer command-line options, but may ask the user in case no option is given
|
||||
* **Rule 4:** the script encoding is in UTF-8 with BOM to support Unicode characters
|
||||
* **Rule 5:** the script exits with "exit 0" for success* otherwise the error code (mostly 1)
|
||||
* **Rule 4:** the encoding of the script is in UTF-8 with BOM to support Unicode characters
|
||||
* **Rule 5:** exit 0 for success, otherwise exit with the error code (mostly 1)
|
||||
|
||||
Feedback
|
||||
--------
|
||||
|
Loading…
Reference in New Issue
Block a user