summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-10-20 11:01:09 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2015-10-20 11:01:09 +0200
commita5c4c4efbd18809320f49d7ed60c58883140259c (patch)
tree580ace4a6270c0e30d1a3b2ea8323da84458beef /lib/config
parent83d475626a4d9ecaa2084f349cb2cee4f0f3a719 (diff)
downloadlvm2-a5c4c4efbd18809320f49d7ed60c58883140259c.tar.gz
conf: clarify compact output settings
Diffstat (limited to 'lib/config')
-rw-r--r--lib/config/config_settings.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index 1a261a23f..dd2b407a2 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -1416,17 +1416,20 @@ cfg(disk_area_size_CFG, "size", disk_area_CFG_SUBSECTION, CFG_UNSUPPORTED | CFG_
cfg(disk_area_id_CFG, "id", disk_area_CFG_SUBSECTION, CFG_UNSUPPORTED | CFG_DEFAULT_UNDEFINED, CFG_TYPE_STRING, NULL, vsn(1, 0, 0), NULL, 0, NULL, NULL)
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 report fields.\n"
- "Fields that don't have a value set for any of the rows reported are\n"
- "skipped and not printed. Compact output is applicable only if\n"
- "report/buffered is enabled.\n")
+ "Do not print empty values for all report fields.\n"
+ "If enabled, all fields that don't have a value set for any of the\n"
+ "rows reported are skipped and not printed. Compact output is\n"
+ "applicable only if report/buffered is enabled. If you need to\n"
+ "compact only specified fields, use compact_output=0 and define\n"
+ "report/compact_output_cols configuration setting instead.\n")
cfg(report_compact_output_cols_CFG, "compact_output_cols", report_CFG_SECTION, CFG_ALLOW_EMPTY | CFG_PROFILABLE | CFG_DEFAULT_COMMENTED, CFG_TYPE_STRING, DEFAULT_COMPACT_OUTPUT_COLS, vsn(2, 2, 133), NULL, 0, NULL,
- "Do not print empty values for given report fields.\n"
- "The same as compact_output setting, but the compaction is not done\n"
- "globally for all fields in report but only for given fields. If both\n"
- "compact_output and compact_output_cols is used at the same time,\n"
- "the compact_output setting prevails.\n")
+ "Do not print empty values for specified report fields.\n"
+ "If defined, specified fields that don't have a value set for any\n"
+ "of the rows reported are skipped and not printed. Compact output\n"
+ "is applicable only if report/buffered is enabled. If you need to\n"
+ "compact all fields, use compact_output=1 instead in which case\n"
+ "the compact_output_cols setting is then ignored.\n")
cfg(report_aligned_CFG, "aligned", report_CFG_SECTION, CFG_PROFILABLE | CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, DEFAULT_REP_ALIGNED, vsn(1, 0, 0), NULL, 0, NULL,
"Align columns in report output.\n")