diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2016-05-24 12:05:42 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2016-06-20 11:33:41 +0200 |
commit | a08e02afbf6c72854d1996c03348a104cbbdaadb (patch) | |
tree | 64b0007931016a8725ac58d84eb715c87f7229bf /conf | |
parent | 79a74e9aaecee0b02cfd83f544a99870f29e0016 (diff) | |
download | lvm2-a08e02afbf6c72854d1996c03348a104cbbdaadb.tar.gz |
conf: add report/output_format config setting
New report/output_format configuration sets the output format used
for all LVM commands globally. Currently, there are 2 formats
recognized:
- basic (the classical basic output with columns and rows, used by default)
- json (output is in json format)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/example.conf.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in index f5b4c4a32..842344201 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -1567,6 +1567,16 @@ activation { # This configuration section has an automatic default value. # report { + # Configuration option report/output_format. + # Format of LVM2 command report output. + # Accepted values: + # basic + # Original format with columns and rows. + # json + # JSON format. + # This configuration option has an automatic default value. + # output_format = "basic" + # Configuration option report/compact_output. # Do not print empty values for all report fields. # If enabled, all fields that don't have a value set for any of the |