diff options
author | Tasos Katsoulas <tasos@netdata.cloud> | 2022-06-28 12:09:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 12:09:37 +0300 |
commit | 9639a31fab455e22d5d5aea7214d0020b78cf98e (patch) | |
tree | 6fcdbc9fcff287f969b5bca68b1399a263e27f5c /daemon | |
parent | f13f43109c97be2021d48b286b765be6af804763 (diff) |
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>
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/README.md | 8 | ||||
-rw-r--r-- | daemon/main.c | 6 |
2 files changed, 14 insertions, 0 deletions
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" |