]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: make --concise hide 'N byte written' message
authorSage Weil <sage.weil@dreamhost.com>
Wed, 28 Sep 2011 20:54:37 +0000 (13:54 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 28 Sep 2011 20:54:37 +0000 (13:54 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/tools/ceph.cc

index d602639024150b857692a20d9bcccfe03e4a67af..b00685b6b7940a4e4cd9cf258f76db0eaac9a556 100644 (file)
@@ -195,7 +195,8 @@ int main(int argc, const char **argv)
                   << cpp_strerror(err) << dendl;
              goto out;
            }
-           derr << " wrote " << obl.length() << " byte payload to " << out_file << dendl;
+           if (!concise)
+             cout << " wrote " << obl.length() << " byte payload to " << out_file << std::endl;
          }
        }
       }