From: charles Date: Fri, 30 Oct 2009 02:32:32 +0000 (+0000) Subject: Add option descriptions X-Git-Tag: pre-name-change~180 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=f0d62f7967ddec5727a423ad8a93192337cf2233;hp=ed64bf26086f5f5ff28eb5f1ebaba89bf63e5f2c Add option descriptions --- diff --git a/direct/tests/yaffs_test.c b/direct/tests/yaffs_test.c index 0030493..a0f9bdb 100644 --- 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); }