cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 5/5] rgmanager: Match fenced's option to disable DBus
Date: Wed,  2 Feb 2011 19:18:50 -0500	[thread overview]
Message-ID: <1296692330-28319-5-git-send-email-lhh@redhat.com> (raw)
In-Reply-To: <1296692330-28319-1-git-send-email-lhh@redhat.com>

Clean cherry-pick in to RHEL6 branch

Resolves: rhbz#657756

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/man/rgmanager.8    |    2 +-
 rgmanager/src/daemons/main.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rgmanager/man/rgmanager.8 b/rgmanager/man/rgmanager.8
index a4e2c73..2b018d2 100644
--- a/rgmanager/man/rgmanager.8
+++ b/rgmanager/man/rgmanager.8
@@ -371,7 +371,7 @@ will leave the virtual machine running.
 Run in the foreground (do not fork).
 .IP \-d
 Enable debug-level logging.
-.IP \-D
+.IP \-q
 Disable DBus signals which are normally sent when services change state.
 .IP \-w
 Disable internal process monitoring (for debugging).
diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c
index dad379a..02cd2dc 100644
--- a/rgmanager/src/daemons/main.c
+++ b/rgmanager/src/daemons/main.c
@@ -951,7 +951,7 @@ main(int argc, char **argv)
 	pthread_t th;
 	cman_handle_t clu = NULL;
 
-	while ((rv = getopt(argc, argv, "wfdND")) != EOF) {
+	while ((rv = getopt(argc, argv, "wfdNq")) != EOF) {
 		switch (rv) {
 		case 'w':
 			wd = 0;
@@ -965,7 +965,7 @@ main(int argc, char **argv)
 		case 'f':
 			foreground = 1;
 			break;
-		case 'D':
+		case 'q':
 			rgm_dbus_notify = 0;
 			break;
 		default:
-- 
1.7.2.3



      parent reply	other threads:[~2011-02-03  0:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03  0:18 [Cluster-devel] [PATCH 1/5] rgmanager: DBus notifications for service state changes Lon Hohberger
2011-02-03  0:18 ` [Cluster-devel] [PATCH 2/5] rgmanager: Clean up dbus notifications Lon Hohberger
2011-02-03  0:31   ` Lon Hohberger
2011-02-03  0:18 ` [Cluster-devel] [PATCH 3/5] rgmanager: Retry dbus if we get disconnected Lon Hohberger
2011-02-03  0:18 ` [Cluster-devel] [PATCH 4/5] rgmanager: minor dbus cleanups Lon Hohberger
2011-02-03  0:18 ` Lon Hohberger [this message]

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=1296692330-28319-5-git-send-email-lhh@redhat.com \
    --to=lhh@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).