2019-01-11 22:57:28

by An, Tedd

[permalink] [raw]
Subject: [PATCH BlueZ] tools/btproxy: Update options list in help

From: Tedd Ho-Jeong An <[email protected]>

This patch updates help content with all available options.
---
tools/btproxy.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tools/btproxy.c b/tools/btproxy.c
index fb67a5735..b3b22ec23 100644
--- a/tools/btproxy.c
+++ b/tools/btproxy.c
@@ -746,6 +746,7 @@ static void usage(void)
"Usage:\n");
printf("\tbtproxy [options]\n");
printf("Options:\n"
+ "\t-r, --redirect Use redirect\n"
"\t-c, --connect <address> Connect to server\n"
"\t-l, --listen [address] Use TCP server\n"
"\t-u, --unix [path] Use Unix server\n"
@@ -753,7 +754,9 @@ static void usage(void)
"\t-i, --index <num> Use specified
controller\n"
"\t-a, --amp Create AMP controller\n"
"\t-e, --ecc Emulate ECC support\n"
+ "\t-z, --skip Skip the first zero\n"
"\t-d, --debug Enable debugging
output\n"
+ "\t-v, --version Show version\n"
"\t-h, --help Show help options\n");
}

@@ -766,6 +769,7 @@ static const struct option main_options[] = {
{ "index", required_argument, NULL, 'i' },
{ "amp", no_argument, NULL, 'a' },
{ "ecc", no_argument, NULL, 'e' },
+ { "skip", no_argument, NULL, 'z' },
{ "debug", no_argument, NULL, 'd' },
{ "version", no_argument, NULL, 'v' },
{ "help", no_argument, NULL, 'h' },
--
2.17.2


Attachments:
smime.p7s (3.17 kB)