@cryptotaxi247 / netdata-1 / commits / 9639a31fa

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 <ilya@netdata.cloud> * Update daemon/README.md Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * also add the change in the daemon command line help message Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * remove whitespace Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Tasos Katsoulas committed Jun 28, 2022 at 12:09 UTC 9639a31fab455e22d5d5aea7214d0020b78cf98e
2 files changed +14
daemon/README.md
+8
@@ -180,6 +180,14 @@ The command line options of the Netdata 1.10.0 version are the following:
180 -W set section option value
181 set netdata.conf option from the command line.
182
183 + -W buildinfo Print the version, the configure options,
184 + a list of optional features, and whether they
185 + are enabled or not.
186 +
187 + -W buildinfojson Print the version, the configure options,
188 + a list of optional features, and whether they
189 + are enabled or not, in JSON format.
190 +
191 -W simple-pattern pattern string
192 Check if string matches pattern and exit.
193
daemon/main.c
+6
@@ -349,6 +349,12 @@ int help(int exitcode) {
349 #endif
350 " -W set section option value\n"
351 " set netdata.conf option from the command line.\n\n"
352 + " -W buildinfo Print the version, the configure options,\n"
353 + " a list of optional features, and whether they\n"
354 + " are enabled or not.\n\n"
355 + " -W buildinfojson Print the version, the configure options,\n"
356 + " a list of optional features, and whether they\n"
357 + " are enabled or not, in JSON format.\n\n"
358 " -W simple-pattern pattern string\n"
359 " Check if string matches pattern and exit.\n\n"
360 " -W \"claim -token=TOKEN -rooms=ROOM1,ROOM2\"\n"