mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Rename --test to --unittest.
This commit is contained in:
@@ -96,7 +96,8 @@ int main(int argc, char* argv[])
|
||||
("conf", po::value<std::string>(), "Specify the configuration file.")
|
||||
("rpc", "Perform rpc command (default).")
|
||||
("standalone,a", "Run with no peers.")
|
||||
("test,t", "Perform unit tests.")
|
||||
("testnet,t", "Run in test net mode.")
|
||||
("unittest,u", "Perform unit tests.")
|
||||
("parameters", po::value< vector<string> >(), "Specify comma separated parameters.")
|
||||
("quiet,q", "Reduce diagnotics.")
|
||||
("verbose,v", "Verbose logging.")
|
||||
@@ -150,7 +151,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
InstanceType::multiThread();
|
||||
|
||||
if (vm.count("test"))
|
||||
if (vm.count("unittest"))
|
||||
{
|
||||
unit_test_main(init_unit_test, argc, argv);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user