master - blkdeactivate: fix long form of options
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4d7a4554f40f990b9cb43a5a6039251eec3b94c3 Commit: 4d7a4554f40f990b9cb43a5a6039251eec3b94c3 Parent: 2679c68689628e71749ebcfc8b2969e32ed6cb3c Author: Peter Rajnoha <[email protected]> AuthorDate: Fri Oct 12 15:42:24 2012 +0200 Committer: Peter Rajnoha <[email protected]> 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(-)
scripts/blkdeactivate.sh.in +2 -2
@@ -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