added help when using -h and --help arguments

Merge of master-melb:xfs-cmds:25939a by kenmcd.

  added help when using -h and --help arguments
This commit is contained in:
Allan Randall
2006-05-15 15:29:16 +00:00
parent b51a45e297
commit f55c95c49d
+8 -4
View File
@@ -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
;;