summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Iouchtchenko <johnnyspoon@gmail.com>2016-02-21 23:50:49 -0500
committerSimon McVittie <smcv@debian.org>2016-03-02 18:19:35 +0000
commitbfd9c8a3b3b707bf12bfffebfcfc2cdd639d4ea6 (patch)
tree135dea15ea62d9667bae0162f82f2a81dfea6bb8
parent64d6dbd190f5d58768fbf290747b06e464d44b00 (diff)
downloaddbus-bfd9c8a3b3b707bf12bfffebfcfc2cdd639d4ea6.tar.gz
dbus-test-tool echo: fix sleep documentation
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=94244 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--doc/dbus-test-tool.1.xml.in4
-rw-r--r--tools/dbus-echo.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/dbus-test-tool.1.xml.in b/doc/dbus-test-tool.1.xml.in
index 091dee14..5b7c43ed 100644
--- a/doc/dbus-test-tool.1.xml.in
+++ b/doc/dbus-test-tool.1.xml.in
@@ -45,7 +45,7 @@
<arg choice="plain">--system</arg>
</group>
<arg choice="opt">--name=<replaceable>NAME</replaceable></arg>
- <arg choice="opt">--sleep=<replaceable>MS</replaceable></arg>
+ <arg choice="opt">--sleep-ms=<replaceable>MS</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
@@ -161,7 +161,7 @@
</varlistentry>
<varlistentry>
- <term><option>--sleep=</option><replaceable>MS</replaceable></term>
+ <term><option>--sleep-ms=</option><replaceable>MS</replaceable></term>
<listitem>
<para>Block for <replaceable>MS</replaceable> milliseconds
before replying to a method call.</para>
diff --git a/tools/dbus-echo.c b/tools/dbus-echo.c
index 0e7de1bd..738b1cb3 100644
--- a/tools/dbus-echo.c
+++ b/tools/dbus-echo.c
@@ -52,7 +52,7 @@ usage_echo (int exit_with)
"\n"
" --name=NAME claim this well-known name first\n"
"\n"
- " --sleep=N sleep N milliseconds before sending each reply\n"
+ " --sleep-ms=N sleep N milliseconds before sending each reply\n"
"\n"
" --session use the session bus (default)\n"
" --system use the system bus\n"