linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] tools/btproxy: Update options list in help
@ 2019-01-11 22:51 An, Tedd
  0 siblings, 0 replies; only message in thread
From: An, Tedd @ 2019-01-11 22:51 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

From: Tedd Ho-Jeong An <tedd.an@intel.com>

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


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3242 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-11 22:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 22:51 [PATCH BlueZ] tools/btproxy: Update options list in help An, Tedd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).