summaryrefslogtreecommitdiff
path: root/src/tools/ceph.cc
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2011-09-28 13:54:37 -0700
committerSage Weil <sage.weil@dreamhost.com>2011-09-28 13:54:37 -0700
commit7eb15ce27ee69fc4555c6b493eeead735f97f550 (patch)
treee4e016f0f8a0696f918781e7d1dc82363f4393f9 /src/tools/ceph.cc
parent4884f06f09181576a590c6221d04ef5c284bde79 (diff)
downloadceph-7eb15ce27ee69fc4555c6b493eeead735f97f550.tar.gz
ceph: make --concise hide 'N byte written' message
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'src/tools/ceph.cc')
-rw-r--r--src/tools/ceph.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc
index d6026390241..b00685b6b79 100644
--- a/src/tools/ceph.cc
+++ b/src/tools/ceph.cc
@@ -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;
}
}
}