diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-10-12 15:42:24 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-10-12 15:42:24 +0200 |
commit | 4d7a4554f40f990b9cb43a5a6039251eec3b94c3 (patch) | |
tree | 847972bf6ee330094e181fd41ff1db02545f0128 /scripts | |
parent | 2679c68689628e71749ebcfc8b2969e32ed6cb3c (diff) | |
download | lvm2-4d7a4554f40f990b9cb43a5a6039251eec3b94c3.tar.gz |
blkdeactivate: fix long form of options
Actually, long form for -d and -l option is --dmoption and --lvmoption respectively.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/blkdeactivate.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in index 031f5f6b8..740bac5ef 100644 --- a/scripts/blkdeactivate.sh.in +++ b/scripts/blkdeactivate.sh.in @@ -302,8 +302,8 @@ while test $# -ne 0; do case "$1" in "") ;; "-h"|"--help") usage ;; - "-d"|"--dmopts") get_dmopts "$2" ; shift ;; - "-l"|"--lvmopts") get_lvmopts "$2" ; shift ;; + "-d"|"--dmoption ") get_dmopts "$2" ; shift ;; + "-l"|"--lvmoption ") get_lvmopts "$2" ; shift ;; "-u"|"--umount") DO_UMOUNT=1 ;; *) break ;; esac |