diff --git a/check_file_age b/check_file_age index 6fadc6ca4a820bfeb302a214b01f0eaa4a44ebb1..63cc4b41ba44f3853ed9ad6c44f38270de237804 100755 --- a/check_file_age +++ b/check_file_age @@ -62,10 +62,10 @@ PARAMETERS: -c, --critical VALUE critical level in days (default: $iLimitCritical) - -w. --warning VALUE + -w, --warning VALUE warning level in days (default: $iLimitWarning) - -f --filter FILTER + -f, --filter FILTER filter for filenames (default: ${filter_files} EXAMPLE: diff --git a/check_psqlserver b/check_psqlserver index 4e1afb465ba9a035e05a020f9bdf8527594675d3..47c0e7f03ce2fd43b5f26d63936d6de3030b6939 100755 --- a/check_psqlserver +++ b/check_psqlserver @@ -21,6 +21,7 @@ # 2023-06-16 v0.7 <axel.hahn@unibe.ch> update help text # 2023-08-30 v0.8 <axel.hahn@unibe.ch> reverse return code in ph.hasParamoption to unix like return codes: 0=true; <>0 = false # 2023-09-18 v0.9 <axel.hahn@unibe.ch> prevent broken pipe message in journallog +# 2025-02-11 v1.0 <axel.hahn@unibe.ch> add default banner for IML checks # ====================================================================== @@ -111,13 +112,7 @@ EOF function _usage(){ local _self=$( basename $0 ) cat <<EOH -______________________________________________________________________ - -${self_APPNAME} :: v${self_APPVERSION} - -(c) Institute for Medical Education - University of Bern -Licence: GNU GPL 3 -______________________________________________________________________ +$( ph.showImlHelpHeader ) USAGE: $_self [OPTIONS] -m METHOD