added help when using -h and --help arguments
authorAllan Randall <allanr@sgi.com>
Mon, 15 May 2006 15:29:16 +0000 (15:29 +0000)
committerAllan Randall <allanr@sgi.com>
Mon, 15 May 2006 15:29:16 +0000 (15:29 +0000)
Merge of master-melb:xfs-cmds:25939a by kenmcd.

  added help when using -h and --help arguments

common

diff --git a/common b/common
index 5ca85415196d263349052aa13304d4bceba1fe17..6b61abf65810a0950b48437c8aa056aee5bda2da 100644 (file)
--- a/common
+++ b/common
@@ -102,23 +102,27 @@ s/ .*//p
     case "$r"
     in
 
-       -\?)    # usage
+       -\? | -h | --help)      # usage
            echo "Usage: $0 [options] [testlist]"'
 
 common options
     -v                 verbose
 
 check options
-    -xfs                test XFS
+    -xfs                test XFS (default)
     -udf                test UDF
     -nfs                test NFS
-    -g group[,group...]        include tests from these groups
     -l                 line mode diff [xdiff]
     -n                 show me, do not run tests
     -q                 quick [deprecated]
     -T                 output timestamps
-    -x group[,group...]        exclude tests from these groups
     -r                         randomize test order
+    
+testlist options
+    -g group[,group...]        include tests from these groups
+    -x group[,group...]        exclude tests from these groups
+    NNN                        include test NNN
+    NNN-NNN            include test range (eg. 012-021)
 '
            exit 0
            ;;