From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Price Date: Mon, 25 Jul 2011 18:03:04 +0100 Subject: [Cluster-devel] [PATCH RHEL6 2/2] tunegfs2: Fix usage message In-Reply-To: <1311613384-24929-1-git-send-email-anprice@redhat.com> References: <1311613384-24929-1-git-send-email-anprice@redhat.com> Message-ID: <1311613384-24929-2-git-send-email-anprice@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is based on upstream commit a830c8747cf7dcc899dc92ad13c3a3b1a3738092 The help message is updated to include all supported options. rhbz#719126 Signed-off-by: Steven Whitehouse Signed-off-by: Andrew Price Reported-by: Nathan Straz --- gfs2/tune/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gfs2/tune/main.c b/gfs2/tune/main.c index be542d7..6a0daff 100644 --- a/gfs2/tune/main.c +++ b/gfs2/tune/main.c @@ -52,8 +52,8 @@ void parse_mount_options(char *arg) static void usage(char *name) { - printf("Usage: %s -L -U -l -o " - " \n", basename(name)); + printf("Usage: %s [-hlV] [-L ] [-U ]\n\t" + "[-o ] \n", basename(name)); } static void version(void) -- 1.7.1