1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

select: mention { } use in lvm.8 man page and '-S help' properly

This commit is contained in:
Peter Rajnoha 2015-04-08 11:14:16 +02:00
parent 8fdca0de79
commit f32973c78e
2 changed files with 10 additions and 2 deletions

View File

@ -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(" 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(" percent - Non-negative integer with or without %% suffix.");
log_warn(" string - Characters quoted by \' or \" or unquoted."); 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(" \"all items must match\" or \"at least one item must match\" operator.");
log_warn(" regular expression - Characters quoted by \' or \" or unquoted."); log_warn(" regular expression - Characters quoted by \' or \" or unquoted.");
log_warn(" "); log_warn(" ");

View File

@ -470,6 +470,10 @@ that can be used in selection, see the output of \fB<lvm reporting command> -S h
\fB[\fP \(em List start \fB[\fP \(em List start
.IP .IP
\fB]\fP \(em List end \fB]\fP \(em List end
.IP
\fB{\fP \(em List subset start
.IP
\fB}\fP \(em List subset end
.LP .LP
\fBInformal grammar specification\fP: \fBInformal grammar specification\fP:
.IP .IP
@ -477,7 +481,11 @@ that can be used in selection, see the output of \fB<lvm reporting command> -S h
.IP .IP
.BR VALUE " = " [VALUE " log_op " VALUE] .BR VALUE " = " [VALUE " log_op " VALUE]
.br .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 .IP
.BR VALUE " = " value .BR VALUE " = " value
.br .br