Skip to content

Commit

Permalink
Warn which options are preventing server launch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ry4an committed Oct 28, 2011
1 parent 3a5cf0e commit cc3de60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db.cpp
Expand Up @@ -932,7 +932,7 @@ int main(int argc, char* argv[]) {
}
if (params.count("pairwith") || params.count("arbiter") || params.count("opIdMem")) {
out() << "****" << endl;
out() << "Replica Pairs have been deprecated." << endl;
out() << "Replica Pairs have been deprecated. Invalid options: --pairwith, --arbiter, and/or --opIdMem" << endl;
out() << "<http://www.mongodb.org/display/DOCS/Replica+Pairs>" << endl;
out() << "****" << endl;
dbexit( EXIT_BADOPTIONS );
Expand Down

0 comments on commit cc3de60

Please sign in to comment.