Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit ac138d0

Browse files
committed
dryrun -> install
1 parent a193b37 commit ac138d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function configure(opts, done) {
354354
var exec = module.exports = exports = function(opts, done) {
355355
opts.action = opts.action || 'start';
356356

357-
if (['dryrun', 'start', 'stop'].indexOf(opts.action) === -1) {
357+
if (['install', 'start', 'stop'].indexOf(opts.action) === -1) {
358358
done(new Error('Unknown action.'));
359359
return;
360360
}
@@ -371,7 +371,7 @@ var exec = module.exports = exports = function(opts, done) {
371371
return;
372372
}
373373

374-
if (opts.action === 'dryrun') {
374+
if (opts.action === 'install') {
375375
done();
376376
return;
377377
}

usage.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
Usage: mongodb-runner <start|stop|dryrun> [options]
2+
Usage: mongodb-runner <start|stop|install> [options]
33

4-
Start/stop mongodb for testing.
4+
Start/stop/install MongoDB for testing.
55

66
Options:
77
--topology=<topology> One of standalone, replicaset, or cluster [Default: `standalone`].

0 commit comments

Comments
 (0)