|
@@ -2737,35 +2737,38 @@ static void parse_args(int argc, char **argv)
|
|
|
|
|
|
if(strcmp("-h", argv[i]) == 0 || strcmp("--help", argv[i]) == 0) {
|
|
|
fprintf(stderr,
|
|
|
- "apps.plugin %s\n"
|
|
|
- "(C) 2016 Costa Tsaousis"
|
|
|
- "GPL v3+\n"
|
|
|
- "This program is a data collector plugin for netdata.\n"
|
|
|
"\n"
|
|
|
- "Valid command line options:\n"
|
|
|
+ " netdata apps.plugin %s\n"
|
|
|
+ " Copyright (C) 2016-2017 Costa Tsaousis <costa@tsaousis.gr>\n"
|
|
|
+ " Released under GNU Public License v3 or later.\n"
|
|
|
+ " All rights reserved.\n"
|
|
|
"\n"
|
|
|
- "SECONDS set the data collection frequency\n"
|
|
|
+ " This program is a data collector plugin for netdata.\n"
|
|
|
"\n"
|
|
|
- "debug enable debugging (lot of output)\n"
|
|
|
+ " Valid command line options:\n"
|
|
|
"\n"
|
|
|
- "with-childs\n"
|
|
|
- "without-childs enable / disable aggregating exited\n"
|
|
|
- " children resources into parents\n"
|
|
|
- " (default is enabled)\n"
|
|
|
+ " SECONDS set the data collection frequency\n"
|
|
|
"\n"
|
|
|
- "with-guest\n"
|
|
|
- "without-guest enable / disable reporting guest charts\n"
|
|
|
- " (default is disabled)\n"
|
|
|
+ " debug enable debugging (lot of output)\n"
|
|
|
"\n"
|
|
|
- "with-files\n"
|
|
|
- "without-files enable / disable reporting files, sockets, pipes\n"
|
|
|
- " (default is enabled)\n"
|
|
|
+ " with-childs\n"
|
|
|
+ " without-childs enable / disable aggregating exited\n"
|
|
|
+ " children resources into parents\n"
|
|
|
+ " (default is enabled)\n"
|
|
|
"\n"
|
|
|
- "NAME read apps_NAME.conf instead of\n"
|
|
|
- " apps_groups.conf\n"
|
|
|
- " (default NAME=groups)\n"
|
|
|
+ " with-guest\n"
|
|
|
+ " without-guest enable / disable reporting guest charts\n"
|
|
|
+ " (default is disabled)\n"
|
|
|
"\n"
|
|
|
- "version print program version and exit\n"
|
|
|
+ " with-files\n"
|
|
|
+ " without-files enable / disable reporting files, sockets, pipes\n"
|
|
|
+ " (default is enabled)\n"
|
|
|
+ "\n"
|
|
|
+ " NAME read apps_NAME.conf instead of\n"
|
|
|
+ " apps_groups.conf\n"
|
|
|
+ " (default NAME=groups)\n"
|
|
|
+ "\n"
|
|
|
+ " version print program version and exit\n"
|
|
|
"\n"
|
|
|
, VERSION
|
|
|
);
|