diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-12-18 19:07:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-21 06:09:21 +0100 |
commit | 8d00b93fece1cc3547a53abd6ef3358d23ff4d25 (patch) | |
tree | 22e1f1e9449f3bde0a5919728baeb3a7a5cce3d1 /tools/testing/vsock/vsock_test.c | |
parent | testing/vsock: add parameters to list and skip tests (diff) | |
download | linux-8d00b93fece1cc3547a53abd6ef3358d23ff4d25.tar.xz linux-8d00b93fece1cc3547a53abd6ef3358d23ff4d25.zip |
testing/vsock: print list of options and description
Since we now have several options, in the help we print the list
of all supported options and a brief description of them.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/vsock/vsock_test.c')
-rw-r--r-- | tools/testing/vsock/vsock_test.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/testing/vsock/vsock_test.c b/tools/testing/vsock/vsock_test.c index 3ac56651f3f9..a63e05d6a0f9 100644 --- a/tools/testing/vsock/vsock_test.c +++ b/tools/testing/vsock/vsock_test.c @@ -257,7 +257,18 @@ static void usage(void) "listen address and the client requires an address to\n" "connect to.\n" "\n" - "The CID of the other side must be given with --peer-cid=<cid>.\n"); + "The CID of the other side must be given with --peer-cid=<cid>.\n" + "\n" + "Options:\n" + " --help This help message\n" + " --control-host <host> Server IP address to connect to\n" + " --control-port <port> Server port to listen on/connect to\n" + " --mode client|server Server or client mode\n" + " --peer-cid <cid> CID of the other side\n" + " --list List of tests that will be executed\n" + " --skip <test_id> Test ID to skip;\n" + " use multiple --skip options to skip more tests\n" + ); exit(EXIT_FAILURE); } |