OSDN Git Service

tools: Update rfcomm help
authorSzymon Janc <szymon.janc@gmail.com>
Thu, 30 May 2013 22:01:56 +0000 (00:01 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Jun 2013 13:15:07 +0000 (16:15 +0300)
This includes:
remove describtion of non-existing option '-f'
add missing description of '-L' option
add missing long version of '-i' option

tools/rfcomm.c

index ff164c8..b5bea38 100644 (file)
@@ -652,15 +652,15 @@ static void usage(void)
                "\n");
 
        printf("Options:\n"
-               "\t-i [hciX|bdaddr]      Local HCI device or BD Address\n"
-               "\t-h, --help            Display help\n"
-               "\t-r, --raw             Switch TTY into raw mode\n"
-               "\t-A, --auth            Enable authentication\n"
-               "\t-E, --encrypt         Enable encryption\n"
-               "\t-S, --secure          Secure connection\n"
-               "\t-M, --master          Become the master of a piconet\n"
-               "\t-f, --config [file]   Specify alternate config file\n"
-               "\t-a                    Show all devices (default)\n"
+               "\t-i, --device [hciX|bdaddr]     Local HCI device or BD Address\n"
+               "\t-h, --help                     Display help\n"
+               "\t-r, --raw                      Switch TTY into raw mode\n"
+               "\t-A, --auth                     Enable authentication\n"
+               "\t-E, --encrypt                  Enable encryption\n"
+               "\t-S, --secure                   Secure connection\n"
+               "\t-M, --master                   Become the master of a piconet\n"
+               "\t-L, --linger [seconds]         Set linger timeout\n"
+               "\t-a                             Show all devices (default)\n"
                "\n");
 
        printf("Commands:\n");