diff options
-rw-r--r-- | tools/lvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lvm.c b/tools/lvm.c index da418329..3791decf 100644 --- a/tools/lvm.c +++ b/tools/lvm.c @@ -434,7 +434,8 @@ static struct arg *_find_arg(struct command *com, int opt) * short arg, or the index into * 'the_args'. */ - if ((a->short_arg && (opt == a->short_arg)) || (opt == arg)) + if ((a->short_arg && (opt == a->short_arg)) || + (!a->short_arg && (opt == arg))) return a; } |