Re: [PATCH] tools/btgatt-server: Fix help message for GATT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gowtham,

On Thu, Feb 5, 2015 at 11:32 AM, Gowtham Anandha Babu
<gowtham.ab@xxxxxxxxxxx> wrote:
> Ping.
>
>> -----Original Message-----
>> From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-
>> owner@xxxxxxxxxxxxxxx] On Behalf Of Gowtham Anandha Babu
>> Sent: Tuesday, February 03, 2015 12:01 PM
>> To: linux-bluetooth@xxxxxxxxxxxxxxx
>> Cc: bharat.panda@xxxxxxxxxxx; cpgs@xxxxxxxxxxx; 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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux