Skip to content

Commit cc3de60

Browse files
committed
Warn which options are preventing server launch.
1 parent 3a5cf0e commit cc3de60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/db.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ int main(int argc, char* argv[]) {
932932
}
933933
if (params.count("pairwith") || params.count("arbiter") || params.count("opIdMem")) {
934934
out() << "****" << endl;
935-
out() << "Replica Pairs have been deprecated." << endl;
935+
out() << "Replica Pairs have been deprecated. Invalid options: --pairwith, --arbiter, and/or --opIdMem" << endl;
936936
out() << "<http://www.mongodb.org/display/DOCS/Replica+Pairs>" << endl;
937937
out() << "****" << endl;
938938
dbexit( EXIT_BADOPTIONS );

0 commit comments

Comments
 (0)