summaryrefslogtreecommitdiff
path: root/man/lvrename.8_pregen
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2017-03-13 12:54:56 -0500
committerDavid Teigland <teigland@redhat.com>2017-03-13 13:37:07 -0500
commit38292ca1d0a78aa6b06a4180b8e87cb9dd417a22 (patch)
tree0d3fec415c6e6b32a438e7621d50ff68b9c9319a /man/lvrename.8_pregen
parent49cd54fc3a4cfbe785ba387a3c748362f74ea52f (diff)
downloadlvm2-38292ca1d0a78aa6b06a4180b8e87cb9dd417a22.tar.gz
commands: fix command matching for unused options
When a given command: - matches command definition A based on required options, but uses optional options that are not accepted by A. - matches command definition B based on required options, (but fewer required items than A), and uses no unaccepted optional options. then B is the correct choice. Command A would fail because of the unaccepted optional options. The logic was mistakenly letting A win because it had a greater number of required option matches, without accounting for the optional option mismatches.
Diffstat (limited to 'man/lvrename.8_pregen')
0 files changed, 0 insertions, 0 deletions