Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] tools/btgatt-server: Fix help message for GATT
@ 2015-02-03  6:30 Gowtham Anandha Babu
  2015-02-05  9:32 ` Gowtham Anandha Babu
  0 siblings, 1 reply; 3+ messages in thread
From: Gowtham Anandha Babu @ 2015-02-03  6:30 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: bharat.panda, cpgs, Gowtham Anandha Babu

Added '\n' to make help message looks good as below:
btgatt-server
Usage:
	btgatt-server [options]
Options:
	-i, --index <id>		Specify adapter index, e.g. hci0
	-m, --mtu <mtu>			The ATT MTU to use
	-s, --security-level <sec>	Set security level (low|medium|high)
	-v, --verbose			Enable extra logging
	-r, --heart-rate		Enable Heart Rate service
	-h, --help			Display help
---
 tools/btgatt-server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/btgatt-server.c b/tools/btgatt-server.c
index f6ad8c3..d27cf10 100644
--- a/tools/btgatt-server.c
+++ b/tools/btgatt-server.c
@@ -631,7 +631,7 @@ static void usage(void)
 		"\t-s, --security-level <sec>\tSet security level (low|"
 								"medium|high)\n"
 		"\t-v, --verbose\t\t\tEnable extra logging\n"
-		"\t-r, --heart-rate\t\tEnable Heart Rate service"
+		"\t-r, --heart-rate\t\tEnable Heart Rate service\n"
 		"\t-h, --help\t\t\tDisplay help\n");
 }
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-05 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03  6:30 [PATCH] tools/btgatt-server: Fix help message for GATT Gowtham Anandha Babu
2015-02-05  9:32 ` Gowtham Anandha Babu
2015-02-05 10:31   ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox