1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

conf: clarify compact output settings

This commit is contained in:
Peter Rajnoha 2015-10-20 11:01:09 +02:00
parent 83d475626a
commit a5c4c4efbd
2 changed files with 24 additions and 18 deletions

View File

@ -1494,19 +1494,22 @@ activation {
# report { # report {
# Configuration option report/compact_output. # Configuration option report/compact_output.
# Do not print empty report fields. # Do not print empty values for all report fields.
# Fields that don't have a value set for any of the rows reported are # If enabled, all fields that don't have a value set for any of the
# skipped and not printed. Compact output is applicable only if # rows reported are skipped and not printed. Compact output is
# report/buffered is enabled. # applicable only if report/buffered is enabled. If you need to
# compact only specified fields, use compact_output=0 and define
# report/compact_output_cols configuration setting instead.
# This configuration option has an automatic default value. # This configuration option has an automatic default value.
# compact_output = 0 # compact_output = 0
# Configuration option report/compact_output_cols. # Configuration option report/compact_output_cols.
# Do not print empty values for given report fields. # Do not print empty values for specified report fields.
# The same as compact_output setting, but the compaction is not done # If defined, specified fields that don't have a value set for any
# globally for all fields in report but only for given fields. If both # of the rows reported are skipped and not printed. Compact output
# compact_output and compact_output_cols is used at the same time, # is applicable only if report/buffered is enabled. If you need to
# the compact_output setting prevails. # compact all fields, use compact_output=1 instead in which case
# the compact_output_cols setting is then ignored.
# This configuration option has an automatic default value. # This configuration option has an automatic default value.
# compact_output_cols = "" # compact_output_cols = ""

View File

@ -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(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, 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" "Do not print empty values for all report fields.\n"
"Fields that don't have a value set for any of the rows reported are\n" "If enabled, all fields that don't have a value set for any of the\n"
"skipped and not printed. Compact output is applicable only if\n" "rows reported are skipped and not printed. Compact output is\n"
"report/buffered is enabled.\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, 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" "Do not print empty values for specified report fields.\n"
"The same as compact_output setting, but the compaction is not done\n" "If defined, specified fields that don't have a value set for any\n"
"globally for all fields in report but only for given fields. If both\n" "of the rows reported are skipped and not printed. Compact output\n"
"compact_output and compact_output_cols is used at the same time,\n" "is applicable only if report/buffered is enabled. If you need to\n"
"the compact_output setting prevails.\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, 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") "Align columns in report output.\n")