(from bug #867376 comment #8) Another extensions may include shortcuts like: 'lvs --select name=[a || b || c]' which would be equal to 'lvs --select name=a || name=b || name=c' (this should be easy to add). If found usable for some situations, maybe also transitive comparisons could be recognized: 'lvs --select lv_name=vg_name=abc' which would be equal to 'lvs --select lv_name=abc && vg_name=abc' Explore more shortcuts that can be made to help creating more complex statements with less words (but keep the syntax simple!).
(In reply to Peter Rajnoha from comment #0) > If found usable for some situations, maybe also transitive comparisons could > be recognized: > > 'lvs --select lv_name=vg_name=abc' which would be equal to 'lvs --select > lv_name=abc && vg_name=abc' ...or maybe 'lvs --select [lv_name,vg_name]=[abc...]' (this is probably easier to recognize for the parses because with the lv_name=vg_name=abc we have to take care whether the vg_name is the value to compare with or the field name (though the rule would be simple - count the number of operators chained and the value is typed after the last one). Explore what's better/more efficient and less error prone.
No plan to implement this unless there's a demand from users.