From adf742775d83216b6e787f760b5e144ffb3059c9 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 28 Aug 2016 11:30:28 +0200 Subject: [PATCH] Updated changelog & coding style --- CHANGELOG.md | 3 +++ CODING_STYLE.TXT | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b8473c..ec46a90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ KNOWN ISSUES 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 - Config file upgrade script now updates header ! test if waitfortaskcompletion kill self works okay with osync diff --git a/CODING_STYLE.TXT b/CODING_STYLE.TXT index da88698..12e4c89 100644 --- a/CODING_STYLE.TXT +++ b/CODING_STYLE.TXT @@ -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 @@ -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. 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. Use the following convention for function definition: