Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Remove unnecessary setw(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Jun 17, 2019
1 parent c9ab8a8 commit c59e690
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/tools/libtesteth/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ void printHelp()
cout << "Usage: \n";
cout << std::left;
cout << "\nSetting test suite\n";
cout << setw(35) << "-t <TestSuite>" << setw(0) << "Execute test operations\n";
cout << setw(0) << "-t <TestSuite>/<TestCase>\n";
cout << setw(35) << "--testpath <PathToTheTestRepo>" << setw(0) << "Set path to the test folder\n";
cout << setw(35) << "-t <TestSuite>" << "Execute test operations\n";
cout << "-t <TestSuite>/<TestCase>\n";
cout << setw(35) << "--testpath <PathToTheTestRepo>" << "Set path to the test folder\n";

cout << "\nDebugging\n";
cout << setw(35) << "-d <index>" << setw(25) << "Set the transaction data array index when running GeneralStateTests\n";
cout << setw(35) << "-g <index>" << setw(25) << "Set the transaction gas array index when running GeneralStateTests\n";
cout << setw(35) << "-v <index>" << setw(25) << "Set the transaction value array index when running GeneralStateTests\n";
cout << setw(35) << "--singletest <TestName>" << setw(0) << "Run on a single test\n";
cout << setw(35) << "--singletest <TestFile> <TestName>\n";
cout << setw(35) << "--singletest <TestName>" << "Run on a single test\n";
cout << setw(35) << "--singletest <TestFile> <TestName>" << "Run on a single test from file\n";
cout << setw(35) << "--singlenet <networkId>" << setw(25) << "Run tests for a specific network (Frontier|Homestead|EIP150|EIP158|Byzantium|Constantinople|ConstantinopleFix)\n";
cout << setw(35) << "--verbosity <level>" << setw(25) << "Set logs verbosity. 0 - silent, 1 - only errors, 2 - informative, >2 - detailed\n";
cout << setw(35) << "--vm <name|path> (=legacy)" << setw(25) << "Set VM type for VMTests suite. Available options are: interpreter, legacy.\n";
cout << setw(35) << "--evmc <option>=<value>" << setw(0) << "EVMC option\n";
cout << setw(35) << "--evmc <option>=<value>" << "EVMC option\n";
cout << setw(35) << "--vmtrace" << setw(25) << "Enable VM trace for the test.\n";
cout << setw(35) << "--jsontrace <Options>" << setw(25) << "Enable VM trace to stdout in json format. Argument is a json config: '{ \"disableStorage\" : false, \"disableMemory\" : false, \"disableStack\" : false, \"fullStorage\" : true }'\n";
cout << setw(35) << "--stats <OutFile>" << setw(25) << "Output debug stats to the file\n";
Expand All @@ -63,12 +63,12 @@ void printHelp()
cout << setw(35) << "--all" << setw(25) << "Enable all tests\n";

cout << "\nTest Generation\n";
cout << setw(35) << "--filltests" << setw(0) << "Run test fillers\n";
cout << setw(35) << "--filltests" << "Run test fillers\n";
cout << setw(35) << "--fillchain" << setw(25) << "When filling the state tests, fill tests as blockchain instead\n";
cout << setw(35) << "--showhash" << setw(25) << "Show filler hash debug information\n";
cout << setw(35) << "--randomcode <MaxOpcodeNum>" << setw(25) << "Generate smart random EVM code\n";
cout << setw(35) << "--createRandomTest" << setw(25) << "Create random test and output it to the console\n";
cout << setw(35) << "--createRandomTest <PathToOptions.json>" << setw(25) << "Use following options file for random code generation\n";
cout << setw(35) << "--createRandomTest <PathToOptions.json> " << setw(25) << "Use following options file for random code generation\n";
cout << setw(35) << "--seed <uint>" << setw(25) << "Define a seed for random test\n";
cout << setw(35) << "--options <PathTo.json>" << setw(25) << "Use following options file for random code generation\n";
//cout << setw(30) << "--fulloutput" << setw(25) << "Disable address compression in the output field\n";
Expand Down

0 comments on commit c59e690

Please sign in to comment.