cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andrew Price <anprice@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH RHEL6 2/2] tunegfs2: Fix usage message
Date: Mon, 25 Jul 2011 18:03:04 +0100	[thread overview]
Message-ID: <1311613384-24929-2-git-send-email-anprice@redhat.com> (raw)
In-Reply-To: <1311613384-24929-1-git-send-email-anprice@redhat.com>

This is based on upstream commit a830c8747cf7dcc899dc92ad13c3a3b1a3738092

The help message is updated to include all supported options.

rhbz#719126

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Price <anprice@redhat.com>
Reported-by: Nathan Straz <nstraz@redhat.com>
---
 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 <volume label> -U <UUID> -l -o "
-		"<mount options> <device> \n", basename(name));
+	printf("Usage: %s [-hlV] [-L <volume_label>] [-U <UUID>]\n\t"
+		"[-o <mount_options>] <device> \n", basename(name));
 }
 
 static void version(void)
-- 
1.7.1



  reply	other threads:[~2011-07-25 17:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-25 17:03 [Cluster-devel] [PATCH RHEL6 1/2] tunegfs2: Ensure we don't try to open a null device Andrew Price
2011-07-25 17:03 ` Andrew Price [this message]
2011-07-25 17:19   ` [Cluster-devel] [PATCH RHEL6 2/2] tunegfs2: Fix usage message Bob Peterson
2011-07-25 17:40   ` Steven Whitehouse
2011-07-25 17:18 ` [Cluster-devel] [PATCH RHEL6 1/2] tunegfs2: Ensure we don't try to open a null device Bob Peterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311613384-24929-2-git-send-email-anprice@redhat.com \
    --to=anprice@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).