diff options
| -rw-r--r-- | tools/hciattach.8 | 13 | ||||
| -rw-r--r-- | tools/hciattach.c | 2 | 
2 files changed, 12 insertions, 3 deletions
| diff --git a/tools/hciattach.8 b/tools/hciattach.8 index 812c40dc..0dadec99 100644 --- a/tools/hciattach.8 +++ b/tools/hciattach.8 @@ -3,7 +3,7 @@  hciattach \- attach serial devices via UART HCI to BlueZ stack  .SH SYNOPSIS  .B hciattach -< +[ -n ] [ -p ] [ -t timeout ] <  .I tty  > <  .I type @@ -20,6 +20,15 @@ Hciattach is used to attach a serial UART to the Bluetooth stack as HCI  transport interface.  .SH OPTIONS  .TP +.BI -n +Don't detach from controlling terminal. +.TP +.BI -p +Print the PID when detaching. +.TP +.BI -t timeout +Specify an initialization timeout.  (Default is 5 seconds.) +.TP  .I <tty>  This specifies the serial device to attach. A leading  .B /dev @@ -102,4 +111,4 @@ instead.  .SH AUTHORS  Written by Maxim Krasnyansky <maxk@qualcomm.com>  .PP -man page by Nils Faerber <nils@kernelconcepts.de> +Manual page by Nils Faerber <nils@kernelconcepts.de> diff --git a/tools/hciattach.c b/tools/hciattach.c index f30ae033..b6aa7376 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -815,7 +815,7 @@ static void usage(void)  {  	printf("hciattach - HCI UART driver initialization utility\n");  	printf("Usage:\n"); -	printf("\thciattach <tty> <type | id> [speed] [flow]\n"); +	printf("\thciattach [-n] [-p] [-t timeout] <tty> <type | id> [speed] [flow]\n");  	printf("\thciattach -l\n");  } | 
