diff options
author | David Teigland <teigland@redhat.com> | 2017-03-13 12:54:56 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-03-13 13:37:07 -0500 |
commit | 38292ca1d0a78aa6b06a4180b8e87cb9dd417a22 (patch) | |
tree | 0d3fec415c6e6b32a438e7621d50ff68b9c9319a /man/lvrename.8_pregen | |
parent | 49cd54fc3a4cfbe785ba387a3c748362f74ea52f (diff) | |
download | lvm2-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