diff options
author | Dwight <dmerriman@gmail.com> | 2009-08-25 14:35:22 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-08-25 14:35:22 -0400 |
commit | 879e7b153ef93bc3ef121b86e7d8d20ad86818f8 (patch) | |
tree | 6467b410fb5362f204809c4cc547536d56bca61c /db/cmdline.h | |
parent | 0a95fb0e7f67079039c9047f6df8f9d74bf71ff3 (diff) | |
download | mongo-879e7b153ef93bc3ef121b86e7d8d20ad86818f8.tar.gz |
more CmdLine object
Diffstat (limited to 'db/cmdline.h')
-rw-r--r-- | db/cmdline.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/db/cmdline.h b/db/cmdline.h index d597624a3e9..36f27f75a4b 100644 --- a/db/cmdline.h +++ b/db/cmdline.h @@ -18,15 +18,21 @@ namespace mongo { + /* command line options + */ + /* concurrency: OK/READ */ struct CmdLine { - int port; + int port; // --port + string source; // --source + string only; // --only + bool quiet; // --quiet enum { DefaultDBPort = 27017 }; CmdLine() : - port(27017) + port(27017), quiet(false) { } }; |