[PATCH 1/3] test/hciemu.c: verbose usage message

Filippo Giunchedi
2009-07-06T16:05:03Z

---
test/hciemu.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/test/hciemu.c b/test/hciemu.c
index 9f651bc..68fabb0 100644
--- a/test/hciemu.c
+++ b/test/hciemu.c
@@ -1172,7 +1172,13 @@ static void usage(void)
{
printf("hciemu - HCI emulator ver %s\n", VERSION);
printf("Usage: \n");
- printf("\thciemu [-n] local_address\n");
+ printf("\thciemu [options] local_address\n"
+ "Options:\n"
+ "\t[-d device] use specified device\n"
+ "\t[-b bdaddr] emulate specified address\n"
+ "\t[-s file] create snoop file\n"
+ "\t[-n] do not detach\n"
+ "\t[-h] help, you are looking at it\n");
}

static struct option main_options[] = {
--
1.6.3.3