diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-02-06 16:27:39 -0800 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-02-07 13:06:54 -0800 |
commit | 36cf4d0cdf218ac993f7f964610970dcf9063c92 (patch) | |
tree | 81febd4c4c6c0a91b3e91c4f198dc709474f04d8 | |
parent | 1042060f40ad34e8a731e00a25525005d8bdec53 (diff) | |
download | ceph-36cf4d0cdf218ac993f7f964610970dcf9063c92.tar.gz |
ceph: fix 'pg' error message to direct user toward better input
Signed-off-by: Dan Mick <dan.mick@inktank.com>
-rw-r--r-- | src/tools/common.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/common.cc b/src/tools/common.cc index 9a3763a34ae..13aff67ac6e 100644 --- a/src/tools/common.cc +++ b/src/tools/common.cc @@ -274,7 +274,7 @@ int do_command(CephToolCtx *ctx, } if (cmd.size() > 0 && cmd[0] == "pg") { if (cmd.size() == 1) { - cerr << "no pgid specified" << std::endl; + cerr << "pg requires at least one argument" << std::endl; return -EINVAL; } if (pending_target_pgid.parse(cmd[1].c_str())) { |