summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-11-13 17:48:26 (GMT)
committerSven Nierlein <sven@nierlein.org>2023-01-07 17:34:46 (GMT)
commitd2a05e0d12e93b06ef1357e6dffd2842d40e0aa8 (patch)
treee569d17347bd218f25dbbfac14731deaf559eeb6
parent2752f910999c57092219d22635a46be8d78a60c2 (diff)
downloadmonitoring-plugins-d2a05e0.tar.gz
Document process_arguments a little bit better
-rw-r--r--plugins/check_http.c5
1 files changed, 4 insertions, 1 deletions
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)
195 usage2 (_("file does not exist or is not readable"), path); 195 usage2 (_("file does not exist or is not readable"), path);
196} 196}
197 197
198/* process command-line arguments */ 198/*
199 * process command-line arguments
200 * returns true on succes, false otherwise
201 */
199bool process_arguments (int argc, char **argv) 202bool process_arguments (int argc, char **argv)
200{ 203{
201 int c = 1; 204 int c = 1;