mirror of
https://github.com/deajan/osync
synced 2024-11-03 15:40:14 +00:00
Updated changelog & coding style
This commit is contained in:
parent
d79f53760b
commit
adf742775d
@ -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
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user