summaryrefslogtreecommitdiffstats
path: root/src/ceph.in
diff options
context:
space:
mode:
authorMykola Golub <mgolub@mirantis.com>2015-04-03 07:41:16 +0200
committerMykola Golub <mgolub@mirantis.com>2015-04-06 15:22:27 +0200
commit8881441db13271fd7ff36de942761e4b00666684 (patch)
treec6c390699f2dfba2e9361e2382dd794dd2dec627 /src/ceph.in
parentMerge pull request #4238 from ceph/wip-9580 (diff)
downloadceph-8881441db13271fd7ff36de942761e4b00666684.tar.xz
ceph-8881441db13271fd7ff36de942761e4b00666684.zip
ceph daemonperf: make error message less confusing
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Diffstat (limited to 'src/ceph.in')
-rwxr-xr-xsrc/ceph.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ceph.in b/src/ceph.in
index e56ff85dd01..f9c66d350e5 100755
--- a/src/ceph.in
+++ b/src/ceph.in
@@ -545,7 +545,8 @@ def main():
# for both:
childargs = childargs[2:]
else:
- print >> sys.stderr, 'daemon requires at least 3 arguments'
+ print >> sys.stderr, '{0} requires at least {1} arguments'.format(
+ childargs[0], require_args)
return errno.EINVAL
if sockpath and daemon_perf: