]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix usage display
authorrenhwztetecs <rhwlyw@163.com>
Fri, 15 Apr 2016 08:50:51 +0000 (16:50 +0800)
committerrenhwztetecs <rhwlyw@163.com>
Fri, 15 Apr 2016 08:50:51 +0000 (16:50 +0800)
The usage using derr, will display the date and time

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/ceph_mds.cc

index fda5a37715707a421a474eb0ca0aace697e495ed..4e7c2ffe14fa1410a0d6761e8841444407866f2e 100644 (file)
@@ -50,7 +50,7 @@ using namespace std;
 
 void usage()
 {
-  derr << "usage: ceph-mds -i name [flags] [[--journal_check rank]|[--hot-standby][rank]]\n"
+  cout << "usage: ceph-mds -i name [flags] [[--journal_check rank]|[--hot-standby][rank]]\n"
        << "  -m monitorip:port\n"
        << "        connect to monitor at given address\n"
        << "  --debug_mds n\n"
@@ -59,7 +59,7 @@ void usage()
        << "        replay the journal for rank, then exit\n"
        << "  --hot-standby rank\n"
        << "        start up as a hot standby for rank\n"
-       << dendl;
+       << std::endl;
   generic_server_usage();
 }