]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_metadump: include F in getopts string
authorEric Sandeen <sandeen@redhat.com>
Mon, 3 Mar 2014 01:19:24 +0000 (12:19 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 3 Mar 2014 01:19:24 +0000 (12:19 +1100)
I added an F case, but didn't add it to the bash
getopts string last go-round.

/usr/sbin/xfs_metadump: illegal option -- F

I sure thought I tested this, I'm not sure how it got lost.

Reported-by: Boris Ranto <branto@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
db/xfs_metadump.sh

index 7ce7a6d56e541289a6868b85dec9cdc45abd7dc1..a95d5a561605acd91d9f11b4057a18a99ac83d70 100755 (executable)
@@ -7,7 +7,7 @@ OPTS=" "
 DBOPTS=" "
 USAGE="Usage: xfs_metadump [-efFogwV] [-m max_extents] [-l logdev] source target"
 
-while getopts "efgl:m:owV" c
+while getopts "efgl:m:owFV" c
 do
        case $c in
        e)      OPTS=$OPTS"-e ";;