xfs
[Top] [All Lists]

[PATCH] xfstests: fix fsstress usage() output

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: fix fsstress usage() output
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Mon, 16 Sep 2013 17:00:37 -0500
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
The show_ops() output should come as part of the -f option
help.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

diff --git a/ltp/fsstress.c b/ltp/fsstress.c
index 711ea9a..ef7ecfe 100644
--- a/ltp/fsstress.c
+++ b/ltp/fsstress.c
@@ -1499,8 +1499,8 @@ usage(void)
        printf("   -e errtg         specifies error injection stuff\n");
        printf("   -f op_name=freq  changes the frequency of option name to 
freq\n");
        printf("                    the valid operation names are:\n");
-       printf("   -i filenum       get verbose output for this nth file 
object\n");
        show_ops(-1, "                        ");
+       printf("   -i filenum       get verbose output for this nth file 
object\n");
        printf("   -m modulo        uid/gid modulo for chown/chgrp (default 
32)\n");
        printf("   -n nops          specifies the no. of operations per process 
(default 1)\n");
        printf("   -p nproc         specifies the no. of processes (default 
1)\n");

<Prev in Thread] Current Thread [Next in Thread>