1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

blkdeactivate: fix long form of options

Actually, long form for -d and -l option is --dmoption and --lvmoption respectively.
This commit is contained in:
Peter Rajnoha 2012-10-12 15:42:24 +02:00
parent 2679c68689
commit 4d7a4554f4

View File

@ -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