Updated changelog & coding style

pull/60/head
deajan 8 years ago
parent d79f53760b
commit adf742775d

@ -7,6 +7,9 @@ KNOWN ISSUES
RECENT CHANGES RECENT CHANGES
-------------- --------------
- Logs sent by mail are easier to read
- Better subject (currently running or finished run)
- Fixed bogus double log sent in alert mails
- Made unix signals posix compliant - Made unix signals posix compliant
- Config file upgrade script now updates header - Config file upgrade script now updates header
! test if waitfortaskcompletion kill self works okay with osync ! test if waitfortaskcompletion kill self works okay with osync

@ -1,4 +1,4 @@
Coding style used for my bash projects (v2.2 Aug 2016) Coding style used for my bash projects (v2.3 Sep 2016)
++++++ Header ++++++ Header
@ -62,7 +62,7 @@ Example: SomeFunctionThatRocks
Bash does not provide any checks against missing function arguments. Also, missing quotes can lead to an inconsistent number of arguments. Bash does not provide any checks against missing function arguments. Also, missing quotes can lead to an inconsistent number of arguments.
Most functions should have a first line that calls the special function __CheckArguments, which checks the number of given arguments for a function in order Most functions should have a first line that calls the special function __CheckArguments, which checks the number of given arguments for a function in order
to find possible problems. Number of arguments are given as first argument to __CheckArguments. to find possible problems. Number of arguments are given as first argument to __CheckArguments. May be a number or a range, eg 0-2 if the function takes optional arguments.
__CheckArguments will only trigger when the script is launched with _PARANOIA_DEBUG=yes. Also, it will only exist in the debug version. __CheckArguments will only trigger when the script is launched with _PARANOIA_DEBUG=yes. Also, it will only exist in the debug version.
Use the following convention for function definition: Use the following convention for function definition:

Loading…
Cancel
Save