Updated coding style

This commit is contained in:
deajan 2016-08-29 17:39:56 +02:00
parent 0903db9d2c
commit b8acf1d6dc
1 changed files with 3 additions and 1 deletions

View File

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