diff options
author | Geir Magnusson Jr <geir@pthbbbbbb-2.local> | 2008-03-31 12:07:18 -0400 |
---|---|---|
committer | Geir Magnusson Jr <geir@pthbbbbbb-2.local> | 2008-03-31 12:07:18 -0400 |
commit | cd788a2a0eab200a34acf6ac167fc2fc7f3e3c77 (patch) | |
tree | 1e61e0c3fc891324a56c7555187282b91882f6f8 | |
parent | f51fd34f916470ad59bd562ffb5b39171e65087e (diff) | |
download | mongo-cd788a2a0eab200a34acf6ac167fc2fc7f3e3c77.tar.gz |
Remove the tabs from my previous commit - no functional change
-rw-r--r-- | db/db.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/db/db.cpp b/db/db.cpp index b3c66d66ab2..939624f1763 100644 --- a/db/db.cpp +++ b/db/db.cpp @@ -603,28 +603,28 @@ int main(int argc, char* argv[], char *envp[] ) return 0;
}
- /*
- * *** POST STANDARD SWITCH METHOD - if we don't satisfy, we switch to a
- * slightly different mode where "run" is assumed and we can set values
- */
-
- for (int i = 1; i < argc; i++) {
-
- char *s = argv[i];
-
- if (s && strcmp(s, "--port") == 0) {
- port = atoi(argv[++i]);
- }
- else if (s && strcmp(s, "--dbpath") == 0) {
+ /*
+ * *** POST STANDARD SWITCH METHOD - if we don't satisfy, we switch to a
+ * slightly different mode where "run" is assumed and we can set values
+ */
+
+ for (int i = 1; i < argc; i++) {
+
+ char *s = argv[i];
+
+ if (s && strcmp(s, "--port") == 0) {
+ port = atoi(argv[++i]);
+ }
+ else if (s && strcmp(s, "--dbpath") == 0) {
dbpath = argv[++i];
}
- }
+ }
+
+ cout << "10Gen DB : starting : port = " << port << " dbpath = " << dbpath << endl;
- cout << "10Gen DB : starting : port = " << port << " dbpath = " << dbpath << endl;
+ // note - this code is copied from the "run" DwightVerb
- // note - this code is copied from the "run" DwightVerb
-
- JavaJS = new JavaJSImpl();
+ JavaJS = new JavaJSImpl();
javajstest();
listen(port);
goingAway = true;
|