Linux-Bluetooth Archive on lore.kernel.org
 help / Atom feed
* [PATCH BlueZ] tools/btproxy: Update options list in help
@ 2019-01-11 22:51 An, Tedd
  0 siblings, 0 replies; 1+ messages 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	[flat|nested] 1+ messages in thread

only message in thread, back to index

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

Linux-Bluetooth Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-bluetooth/0 linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ https://lore.kernel.org/linux-bluetooth \
		linux-bluetooth@vger.kernel.org linux-bluetooth@archiver.kernel.org
	public-inbox-index linux-bluetooth


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-bluetooth


AGPL code for this site: git clone https://public-inbox.org/ public-inbox