diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2022-08-04 16:42:54 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2022-08-11 11:10:11 +0200 |
commit | 6cba28a335284de9dd68d84b4dd660f6e744eba5 (patch) | |
tree | 1d0406c6e4555b4e1f322876a840783d2a1ff93d /lib/config | |
parent | 73ec3c954b21522352b6f5cce9a700d6bf30ccf4 (diff) | |
download | lvm2-6cba28a335284de9dd68d84b4dd660f6e744eba5.tar.gz |
config: recognize 'json_std' for report/output_format config setting
Diffstat (limited to 'lib/config')
-rw-r--r-- | lib/config/config_settings.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index d2811df2b..b172c7c5f 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -1806,7 +1806,14 @@ cfg(report_output_format_CFG, "output_format", report_CFG_SECTION, CFG_PROFILABL " one report per command, each report is prefixed with report's\n" " name for identification.\n" " json\n" - " JSON format.\n") + " JSON format.\n" + " json_std\n" + " JSON format that is more compliant with JSON standard.\n" + " Compared to original \"json\" format:\n" + " - it does not use double quotes around numeric values,\n" + " - it uses 'null' for undefined numeric values,\n" + " - it prints string list as proper JSON array of strings instead of a single string." + "\n") cfg(report_compact_output_CFG, "compact_output", report_CFG_SECTION, CFG_PROFILABLE | CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, DEFAULT_REP_COMPACT_OUTPUT, vsn(2, 2, 115), NULL, 0, NULL, "Do not print empty values for all report fields.\n" |