Update README.md

This commit is contained in:
Markus Fleschutz 2020-10-03 23:46:59 +02:00 committed by GitHub
parent d55bc441c2
commit 53948a2a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
--------