]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
take -o instead of --doutdir
authorSage Weil <sage@newdream.net>
Mon, 10 Mar 2008 17:39:46 +0000 (10:39 -0700)
committerSage Weil <sage@newdream.net>
Mon, 10 Mar 2008 17:39:46 +0000 (10:39 -0700)
src/config.cc

index ac04251f68f5e831107c5b956d55089cf15f5e0b..780061179614b2252f4d7a5cedb169cc5cbb713c 100644 (file)
@@ -563,9 +563,9 @@ void parse_config_options(std::vector<const char*>& args)
 
     
     
-    else if (strcmp(args[i], "--doutdir") == 0) {
+    else if (strcmp(args[i], "-o") == 0 ||
+            strcmp(args[i], "--doutdir") == 0) 
       g_conf.dout_dir = args[++i];
-    }
 
     else if (strcmp(args[i], "--debug") == 0) 
       if (!g_conf.debug_after)