aboutsummaryrefslogtreecommitdiff
path: root/STYLE-GUIDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'STYLE-GUIDE.md')
-rw-r--r--STYLE-GUIDE.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/STYLE-GUIDE.md b/STYLE-GUIDE.md
index 21f1523..1137425 100644
--- a/STYLE-GUIDE.md
+++ b/STYLE-GUIDE.md
@@ -1,9 +1,14 @@
Style Guide
-----------
-Usage
+Basic
=====
+* Indent: two spaces. Spaces >> tabs.
+
+Creating `usage()`
+==================
+
* Always echo to `stderr`.
* Exit with code 1.
* Enclose required arguments in angle brackets: `-v <version>`
@@ -14,4 +19,7 @@ Usage
exit 1
}
+Resources
+---------
+* Parameter expansion: <http://wiki.bash-hackers.org/syntax/pe>