diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-11-13 18:48:26 +0100 |
|---|---|---|
| committer | Sven Nierlein <sven@nierlein.org> | 2023-01-07 18:34:46 +0100 |
| commit | d2a05e0d12e93b06ef1357e6dffd2842d40e0aa8 (patch) | |
| tree | e569d17347bd218f25dbbfac14731deaf559eeb6 | |
| parent | 2752f910999c57092219d22635a46be8d78a60c2 (diff) | |
| download | monitoring-plugins-d2a05e0d12e93b06ef1357e6dffd2842d40e0aa8.tar.gz | |
Document process_arguments a little bit better
| -rw-r--r-- | plugins/check_http.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 0f652ef8..6c6810fe 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 | */ | ||
| 199 | bool process_arguments (int argc, char **argv) | 202 | bool process_arguments (int argc, char **argv) |
| 200 | { | 203 | { |
| 201 | int c = 1; | 204 | int c = 1; |
