tools/btproxy: Update options list in help
PATCH 1/1 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(+)
tools/btproxy.c +1 -0
@@ -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' },Signature · 1 line
2.17.2