0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Eliot Horowitz 2009-11-21 21:31:37 -05:00
parent 340f06ab24
commit bed8ba812b

View File

@ -370,8 +370,8 @@ int main(int argc, char **argv){
} else if ( arg == string( "--forward" ) ) {
forwardAddress = args[ ++i ];
} else if ( arg == string( "--source" ) ) {
assert( source == false );
assert(args.size() > i + 2);
uassert( "can't use --source twice" , source == false );
uassert( "source needs more args" , args.size() > i + 2);
source = true;
replay = ( args[ ++i ] == string( "FILE" ) );
if ( replay )