Module: monitoring-plugins Branch: master Commit: d2a05e0d12e93b06ef1357e6dffd2842d40e0aa8 Author: RincewindsHat <12514511+rincewinds...@users.noreply.github.com> Committer: Sven Nierlein <s...@nierlein.org> Date: Sun Nov 13 18:48:26 2022 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d2a05e0
Document process_arguments a little bit better --- plugins/check_http.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/check_http.c b/plugins/check_http.c index 0f652ef..6c6810f 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -195,7 +195,10 @@ test_file (char *path) usage2 (_("file does not exist or is not readable"), path); } -/* process command-line arguments */ +/* + * process command-line arguments + * returns true on succes, false otherwise + */ bool process_arguments (int argc, char **argv) { int c = 1;