From 9639a31fab455e22d5d5aea7214d0020b78cf98e Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Tue, 28 Jun 2022 12:09:37 +0300 Subject: Update netdata commands (#13080) * Update netdata commands Adding the `-W buildinfo` options. * Update README.md * Update README.md * Update daemon/README.md Co-authored-by: Ilya Mashchenko * Update daemon/README.md Co-authored-by: Ilya Mashchenko * also add the change in the daemon command line help message Signed-off-by: Tasos Katsoulas * remove whitespace Signed-off-by: Tasos Katsoulas Co-authored-by: Ilya Mashchenko --- daemon/README.md | 8 ++++++++ daemon/main.c | 6 ++++++ 2 files changed, 14 insertions(+) (limited to 'daemon') diff --git a/daemon/README.md b/daemon/README.md index 44abfa8e94..3ebb405b25 100644 --- a/daemon/README.md +++ b/daemon/README.md @@ -180,6 +180,14 @@ The command line options of the Netdata 1.10.0 version are the following: -W set section option value set netdata.conf option from the command line. + -W buildinfo Print the version, the configure options, + a list of optional features, and whether they + are enabled or not. + + -W buildinfojson Print the version, the configure options, + a list of optional features, and whether they + are enabled or not, in JSON format. + -W simple-pattern pattern string Check if string matches pattern and exit. diff --git a/daemon/main.c b/daemon/main.c index d800424193..48d22f00c0 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -349,6 +349,12 @@ int help(int exitcode) { #endif " -W set section option value\n" " set netdata.conf option from the command line.\n\n" + " -W buildinfo Print the version, the configure options,\n" + " a list of optional features, and whether they\n" + " are enabled or not.\n\n" + " -W buildinfojson Print the version, the configure options,\n" + " a list of optional features, and whether they\n" + " are enabled or not, in JSON format.\n\n" " -W simple-pattern pattern string\n" " Check if string matches pattern and exit.\n\n" " -W \"claim -token=TOKEN -rooms=ROOM1,ROOM2\"\n" -- cgit v1.2.3