[lvm-devel] master - blkdeactivate: fix long form of options
Peter Rajnoha
prajnoha at fedoraproject.org
Fri Oct 12 13:51:24 UTC 2012
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4d7a4554f40f990b9cb43a5a6039251eec3b94c3
Commit: 4d7a4554f40f990b9cb43a5a6039251eec3b94c3
Parent: 2679c68689628e71749ebcfc8b2969e32ed6cb3c
Author: Peter Rajnoha <prajnoha at redhat.com>
AuthorDate: Fri Oct 12 15:42:24 2012 +0200
Committer: Peter Rajnoha <prajnoha at redhat.com>
CommitterDate: Fri Oct 12 15:42:24 2012 +0200
blkdeactivate: fix long form of options
Actually, long form for -d and -l option is --dmoption and --lvmoption respectively.
---
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 031f5f6..740bac5 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
More information about the lvm-devel
mailing list