diff direct/tests/yaffs_test.c @ 307:af08f0e8f039

Add option descriptions
author charles <charles>
date Fri, 30 Oct 2009 02:32:32 +0000
parents 730c93f44f2f
children ed8472f821be
line wrap: on
line diff
--- a/direct/tests/yaffs_test.c
+++ b/direct/tests/yaffs_test.c
@@ -43,6 +43,15 @@ char mount_point[200];
 
 void BadUsage(void)
 {
+	printf("Usage: yaffs_test [options] mountpoint\n");
+	printf("options\n");
+	printf(" f: do fsx testing\n");
+	printf(" i: initialise for upgrade testing\n");
+	printf(" l: multiply number of operations by 5\n");
+	printf(" n nnn: number of cycles\n");
+	printf(" p: simulate power fail testing\n");
+	printf(" s sss: set seed\n");
+	printf(" u: do upgrade test\n);
 	exit(2);
 }