Updated coding style
This commit is contained in:
parent
0903db9d2c
commit
b8acf1d6dc
|
@ -1,4 +1,4 @@
|
||||||
Coding style used for my bash projects (v2.3 Sep 2016)
|
Coding style used for my bash projects (v2.4 Sep 2016)
|
||||||
|
|
||||||
++++++ Header
|
++++++ Header
|
||||||
|
|
||||||
|
@ -55,6 +55,8 @@ Example: EXEC_TIME
|
||||||
All environment variables (verbose, silent, debug, etc) have prefix _ and are full upercase, separated by _
|
All environment variables (verbose, silent, debug, etc) have prefix _ and are full upercase, separated by _
|
||||||
Example: _PARANOIA_DEBUG
|
Example: _PARANOIA_DEBUG
|
||||||
|
|
||||||
|
Exec time variables that can take boolean values should use true and false instead of 1 and 0.
|
||||||
|
|
||||||
++++++ Functions
|
++++++ Functions
|
||||||
|
|
||||||
All function names should begin with an uppercase letter for every word, the other letters should be lowercase
|
All function names should begin with an uppercase letter for every word, the other letters should be lowercase
|
||||||
|
|
Loading…
Reference in New Issue