From f32973c78e981226577e88db662a285ea6c11bd5 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 8 Apr 2015 11:14:16 +0200 Subject: [PATCH] select: mention { } use in lvm.8 man page and '-S help' properly --- libdm/libdm-report.c | 2 +- man/lvm.8.in | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index 6f528f1a4..9f50ff3e0 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -2612,7 +2612,7 @@ static void _display_selection_help(struct dm_report *rh) log_warn(" size - Floating point value with units, 'm' unit used by default if not specified."); log_warn(" percent - Non-negative integer with or without %% suffix."); log_warn(" string - Characters quoted by \' or \" or unquoted."); - log_warn(" string list - Strings enclosed by [ ] and elements delimited by either"); + log_warn(" string list - Strings enclosed by [ ] or { } and elements delimited by either"); log_warn(" \"all items must match\" or \"at least one item must match\" operator."); log_warn(" regular expression - Characters quoted by \' or \" or unquoted."); log_warn(" "); diff --git a/man/lvm.8.in b/man/lvm.8.in index 2faaba435..26d94ee6d 100644 --- a/man/lvm.8.in +++ b/man/lvm.8.in @@ -470,6 +470,10 @@ that can be used in selection, see the output of \fB -S h \fB[\fP \(em List start .IP \fB]\fP \(em List end +.IP +\fB{\fP \(em List subset start +.IP +\fB}\fP \(em List subset end .LP \fBInformal grammar specification\fP: .IP @@ -477,7 +481,11 @@ that can be used in selection, see the output of \fB -S h .IP .BR VALUE " = " [VALUE " log_op " VALUE] .br -For list-based types: string list. The log_op must always be of one type within the whole list value. +For list-based types: string list. Matches strictly. The log_op must always be of one type within the whole list value. +.IP +.BR VALUE " = " {VALUE " log_op " VALUE} +.br +For list-based types: string list. Matches a subset. The log_op must always be of one type within the whole list value. .IP .BR VALUE " = " value .br