2014-10-17 12:48:13

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] hciattach: Add sleep|nosleep keyword

From: Andrei Emeltchenko <[email protected]>

---
tools/hciattach.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/hciattach.c b/tools/hciattach.c
index d8ef7e7..808bbac 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -1276,7 +1276,9 @@ static void usage(void)
{
printf("hciattach - HCI UART driver initialization utility\n");
printf("Usage:\n");
- printf("\thciattach [-n] [-p] [-b] [-r] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow|noflow] [bdaddr]\n");
+ printf("\thciattach [-n] [-p] [-b] [-r] [-t timeout] [-s initial_speed]"
+ " <tty> <type | id> [speed] [flow|noflow]"
+ " [sleep|nosleep] [bdaddr]\n");
printf("\thciattach -l\n");
}

--
1.9.1



2014-10-20 12:38:17

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH] hciattach: Add sleep|nosleep keyword

Hi Andrei,

On Fri, Oct 17, 2014 at 3:48 PM, Andrei Emeltchenko
<[email protected]> wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> tools/hciattach.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tools/hciattach.c b/tools/hciattach.c
> index d8ef7e7..808bbac 100644
> --- a/tools/hciattach.c
> +++ b/tools/hciattach.c
> @@ -1276,7 +1276,9 @@ static void usage(void)
> {
> printf("hciattach - HCI UART driver initialization utility\n");
> printf("Usage:\n");
> - printf("\thciattach [-n] [-p] [-b] [-r] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow|noflow] [bdaddr]\n");
> + printf("\thciattach [-n] [-p] [-b] [-r] [-t timeout] [-s initial_speed]"
> + " <tty> <type | id> [speed] [flow|noflow]"
> + " [sleep|nosleep] [bdaddr]\n");
> printf("\thciattach -l\n");
> }
>
> --
> 1.9.1

Applied, thanks.

--
Luiz Augusto von Dentz