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

Commit

Permalink
Merge pull request #4635 from demon1999/develop2
Browse files Browse the repository at this point in the history
Better command line in ethkey and eth
  • Loading branch information
gumb0 committed Dec 13, 2017
2 parents 55f9b95 + 4b0bb1c commit 19bf103
Show file tree
Hide file tree
Showing 6 changed files with 480 additions and 496 deletions.
2 changes: 1 addition & 1 deletion eth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(
add_executable(eth ${sources})
target_link_libraries(
eth
PRIVATE ethereum ethashseal evm web3jsonrpc webthree devcore
PRIVATE ethereum ethashseal evm web3jsonrpc webthree devcore Boost::program_options
)

target_include_directories(eth PRIVATE ../utils)
Expand Down
3 changes: 2 additions & 1 deletion eth/MinerAux.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ class MinerCLI
BasicAuthority::init();
}

bool interpretOption(int& i, int argc, char** argv)
bool interpretOption(size_t& i, vector<string> const& argv)
{
size_t argc = argv.size();
string arg = argv[i];
if (arg == "--benchmark-warmup" && i + 1 < argc)
try {
Expand Down
Loading

0 comments on commit 19bf103

Please sign in to comment.