]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: --in-file, not --in-data
authorSage Weil <sage@newdream.net>
Tue, 6 Jul 2010 20:02:09 +0000 (13:02 -0700)
committerSage Weil <sage@newdream.net>
Tue, 6 Jul 2010 20:02:09 +0000 (13:02 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/ceph.cc

index dfaee312919044b2c391da60c0191eece127bf99..9c8b6fccc3f459134df76e8fcc9a212652ea9acc 100644 (file)
@@ -536,7 +536,7 @@ int main(int argc, const char **argv, const char *envp[])
   FOR_EACH_ARG(args) {
     if (CONF_ARG_EQ("out_file", 'o')) {
       CONF_SAFE_SET_ARG_VAL(&outfile, OPT_STR);
-    } else if (CONF_ARG_EQ("in_data", 'i')) {
+    } else if (CONF_ARG_EQ("in_file", 'i')) {
       CONF_SAFE_SET_ARG_VAL(&fname, OPT_STR);
       int fd = ::open(fname, O_RDONLY);
       struct stat st;