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:
parent
2679c68689
commit
4d7a4554f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user