]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-docs: Provide example commands for "ctdb event ..."
authorMartin Schwenke <martin@meltin.net>
Wed, 12 Feb 2020 23:09:08 +0000 (10:09 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 18 Feb 2020 04:22:56 +0000 (04:22 +0000)
The example output doesn't tell a user what command generated it.
Adding the command makes the examples much more useful.

Reported-by: Stefan Kania <stefan@kania-online.de>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Feb 18 04:22:56 UTC 2020 on sn-devel-184

ctdb/doc/ctdb.1.xml

index a204583b62c60108740bdf36cdf20be48fbcb3fa..fe2b675ff2c50a3d3cf6f792797f5440660a88de 100644 (file)
@@ -646,9 +646,10 @@ Interface[2]: Name:eth5 Link:up References:2 (active)
              for each script.
            </para>
            <para>
-             Example output:
+             Example
            </para>
            <screen>
+# ctdb event status legacy monitor
 00.ctdb              OK         0.014 Sat Dec 17 19:39:11 2016
 01.reclock           OK         0.013 Sat Dec 17 19:39:11 2016
 05.system            OK         0.029 Sat Dec 17 19:39:11 2016
@@ -684,9 +685,10 @@ Interface[2]: Name:eth5 Link:up References:2 (active)
              provided by CTDB.
            </para>
            <para>
-             Example output:
+             Example
            </para>
            <screen>
+# ctdb event script list legacy
 * 00.ctdb             
 * 01.reclock          
 * 05.system