From: OpenBMC Patches <openbmc-patches@stwcx.xyz>
To: openbmc@lists.ozlabs.org
Cc: Cyril Bur <cyril.bur@au1.ibm.com>
Subject: [PATCH btbridge v2 2/3] Actually set the verbose flag with --debug
Date: Wed, 9 Dec 2015 00:10:05 -0600 [thread overview]
Message-ID: <1449641406-15479-3-git-send-email-openbmc-patches@stwcx.xyz> (raw)
In-Reply-To: <1449641406-15479-1-git-send-email-openbmc-patches@stwcx.xyz>
From: Cyril Bur <cyril.bur@au1.ibm.com>
---
btbridged.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/btbridged.c b/btbridged.c
index ab4880c..5eccc20 100644
--- a/btbridged.c
+++ b/btbridged.c
@@ -624,10 +624,12 @@ int main(int argc, char *argv[]) {
MSG_OUT("Found verbosity flag\n");
if (debug) {
- if (!verbose)
+ if (!verbose) {
+ verbose = 1;
MSG_OUT("Turning on verbosity because debug flag found\n");
- else
+ } else {
MSG_OUT("Found debug flag\n");
+ }
}
MSG_OUT("Starting\n");
--
2.6.3
next prev parent reply other threads:[~2015-12-09 6:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-09 6:10 [PATCH btbridge v2 0/3] Add timestamps to output messages OpenBMC Patches
2015-12-09 6:10 ` [PATCH btbridge v2 1/3] Update usage message OpenBMC Patches
2015-12-10 1:03 ` Joel Stanley
2015-12-10 4:33 ` Cyril Bur
2015-12-09 6:10 ` OpenBMC Patches [this message]
2015-12-09 6:10 ` [PATCH btbridge v2 3/3] Improve debugging output, timestamps and syslog OpenBMC Patches
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=1449641406-15479-3-git-send-email-openbmc-patches@stwcx.xyz \
--to=openbmc-patches@stwcx.xyz \
--cc=cyril.bur@au1.ibm.com \
--cc=openbmc@lists.ozlabs.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.