Browse Source

apply fix for #1250 to neth, take some creds

cl-refactor
caktux 10 years ago
parent
commit
387e67ee40
  1. 9
      neth/main.cpp

9
neth/main.cpp

@ -65,7 +65,7 @@ bool isFalse(std::string const& _m)
void help()
{
cout
<< "Usage neth [OPTIONS] <remote-host>" << endl
<< "Usage neth [OPTIONS]" << endl
<< "Options:" << endl
<< " -a,--address <addr> Set the coinbase (mining payout) address to addr (default: auto)." << endl
<< " -c,--client-name <name> Add a name to your client's version string (default: blank)." << endl
@ -122,7 +122,7 @@ string credits()
std::ostringstream ccout;
ccout
<< "NEthereum (++) " << dev::Version << endl
<< " Code by Gav Wood & , (c) 2013, 2014." << endl
<< " Code by Gav Wood & caktux, (c) 2013, 2014, 2015." << endl
<< " Based on a design by Vitalik Buterin." << endl << endl;
ccout << "Type 'netstart 30303' to start networking" << endl;
@ -428,7 +428,10 @@ int main(int argc, char** argv)
else if (arg == "-V" || arg == "--version")
version();
else
remoteHost = argv[i];
{
cerr << "Invalid argument: " << arg << endl;
exit(-1);
}
}
if (!clientName.empty())

Loading…
Cancel
Save