]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: clean up and simply check CLI option parsing
authorDave Chinner <dchinner@redhat.com>
Fri, 15 Mar 2013 12:27:50 +0000 (12:27 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 26 Mar 2013 15:40:20 +0000 (10:40 -0500)
commit3345d2150e9e6726030bc6f76994013ebe56a5f7
treec64a2aab017daf2d3fe55932efb6019b0fdd3a07
parent6b29d72898a43994d604d112e2a3aa266b309209
xfstests: clean up and simply check CLI option parsing

The options are parsed in a messy loop of option parsing and
actions on secondary arguments. Turn it into something much neater
and easy to understand rather than a mess of temporary variables
and tortured logic...

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
[rjohnston@sgi.com fixed typos in commit message]
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
check
common.rc