Permalink
Browse files

Warn which options are preventing server launch.

  • Loading branch information...
Ry4an committed Oct 28, 2011
1 parent 3a5cf0e commit cc3de60beb95eebd1e414c50fdbc7a6c8b370a6e
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/db.cpp
@@ -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 );

0 comments on commit cc3de60

Please sign in to comment.