Skip to content

Commit

Permalink
mds: fix usage display
Browse files Browse the repository at this point in the history
The usage using derr, will display the date and time

Signed-off-by: huanwen ren <[email protected]>
  • Loading branch information
renhwztetecs committed Apr 15, 2016
1 parent 872ad16 commit ad77899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ceph_mds.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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();
}

Expand Down

0 comments on commit ad77899

Please sign in to comment.