VirtualBox

Changeset 17772 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Mar 12, 2009 6:13:50 PM (16 years ago)
Author:
vboxsync
Message:

tstIntNet-1: usage help.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r17404 r17772  
    807807            case '?':
    808808            case 'h':
    809                 RTPrintf("syntax: tstIntNet-1 [-pStx-] [-d <secs>] [-f <file>] [-r <size>] [-s <size>]\n");
     809                RTPrintf("syntax: tstIntNet-1 <options>\n"
     810                         "\n"
     811                         "Options:\n");
     812                for (size_t i = 0; i < RT_ELEMENTS(s_aOptions); i++)
     813                    RTPrintf("    -%c,%s\n", s_aOptions[i].iShort, s_aOptions[i].pszLong);
     814                RTPrintf("\n"
     815                         "Examples:\n"
     816                         "    tstIntNet-1 -r 8192 -s 4096 -xS\n"
     817                         "    tstIntNet-1 -n VBoxNetDhcp -r 4096 -s 4096 -i \"\" -xS\n");
    810818                return 1;
     819
    811820            case VINF_GETOPT_NOT_OPTION:
    812821                RTPrintf("tstIntNetR0: invalid argument: %s\n", Value.psz);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette