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

* RE: [PATCH] tools/btgatt-server: Fix help message for GATT
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Gowtham Anandha Babu @ 2015-02-05  9:32 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: bharat.panda, cpgs

Ping.

> -----Original Message-----
> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-
> owner@vger.kernel.org] On Behalf Of Gowtham Anandha Babu
> Sent: Tuesday, February 03, 2015 12:01 PM
> To: linux-bluetooth@vger.kernel.org
> Cc: bharat.panda@samsung.com; cpgs@samsung.com; Gowtham Anandha
> Babu
> Subject: [PATCH] tools/btgatt-server: Fix help message for GATT
> 
> 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
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
in
> the body of a message to majordomo@vger.kernel.org More majordomo
> info at  http://vger.kernel.org/majordomo-info.html


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

* Re: [PATCH] tools/btgatt-server: Fix help message for GATT
  2015-02-05  9:32 ` Gowtham Anandha Babu
@ 2015-02-05 10:31   ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2015-02-05 10:31 UTC (permalink / raw)
  To: Gowtham Anandha Babu; +Cc: linux-bluetooth@vger.kernel.org, Bharat Panda, cpgs

Hi Gowtham,

On Thu, Feb 5, 2015 at 11:32 AM, Gowtham Anandha Babu
<gowtham.ab@samsung.com> wrote:
> Ping.
>
>> -----Original Message-----
>> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-
>> owner@vger.kernel.org] On Behalf Of Gowtham Anandha Babu
>> Sent: Tuesday, February 03, 2015 12:01 PM
>> To: linux-bluetooth@vger.kernel.org
>> Cc: bharat.panda@samsung.com; cpgs@samsung.com; Gowtham Anandha
>> Babu
>> Subject: [PATCH] tools/btgatt-server: Fix help message for GATT
>>
>> 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

Applied, thanks.


-- 
Luiz Augusto von Dentz

^ permalink raw reply	[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