diff options
| -rw-r--r-- | plugins/check_swap.c | 3 | ||||
| -rw-r--r-- | plugins/utils.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 262d8d51..4d3b6099 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
| @@ -381,8 +381,7 @@ void print_help(swap_config config) { | |||
| 381 | _("Resulting state when there is no swap regardless of thresholds. " | 381 | _("Resulting state when there is no swap regardless of thresholds. " |
| 382 | "Default:"), | 382 | "Default:"), |
| 383 | state_text(config.no_swap_state)); | 383 | state_text(config.no_swap_state)); |
| 384 | printf(" %s\n", "--output-format"); | 384 | printf(UT_OUTPUT_FORMAT); |
| 385 | printf(" %s\n", _("Select output format. Valid values: \"icingaweb2\", \"mp-test-json\"")); | ||
| 386 | printf(UT_VERBOSE); | 385 | printf(UT_VERBOSE); |
| 387 | 386 | ||
| 388 | printf("\n"); | 387 | printf("\n"); |
diff --git a/plugins/utils.h b/plugins/utils.h index c7073990..bc26f704 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
| @@ -195,4 +195,8 @@ The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ | |||
| 195 | copies of the plugins under the terms of the GNU General Public License.\n\ | 195 | copies of the plugins under the terms of the GNU General Public License.\n\ |
| 196 | For more information about these matters, see the file named COPYING.\n") | 196 | For more information about these matters, see the file named COPYING.\n") |
| 197 | 197 | ||
| 198 | #define UT_OUTPUT_FORMAT _("\ | ||
| 199 | --output-format=OUTPUT_FORMAT\n\ | ||
| 200 | Select output format. Valid values: \"icingaweb2\", \"mp-test-json\"\n") | ||
| 201 | |||
| 198 | #endif /* NP_UTILS_H */ | 202 | #endif /* NP_UTILS_H */ |
