From 427f4bbc07f40706dd5e3c5500f14c63a160c979 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Wed, 12 Feb 2003 12:34:16 +0000 Subject: describe optional arguments --- tools/hciattach.8 | 13 +++++++++++-- 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 This specifies the serial device to attach. A leading .B /dev @@ -102,4 +111,4 @@ instead. .SH AUTHORS Written by Maxim Krasnyansky .PP -man page by Nils Faerber +Manual page by Nils Faerber 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 [speed] [flow]\n"); + printf("\thciattach [-n] [-p] [-t timeout] [speed] [flow]\n"); printf("\thciattach -l\n"); } -- cgit