diff options
author | Martin Schwenke <martin@meltin.net> | 2014-11-19 17:15:21 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-12-05 21:02:39 +0100 |
commit | 3b90e45bae555cc4a47fe9958b86628d41084868 (patch) | |
tree | bf0b672c9e21229b4f20edc2337ad4a268d848f6 /ctdb/doc | |
parent | fbacbb9c7868e22c04980af3602bae59dd5fe34d (diff) | |
download | samba-3b90e45bae555cc4a47fe9958b86628d41084868.tar.gz |
ctdb-tools: Add -x option to specify delimiter for machine readable output
To support this, update printm() to replace ':' in format string with
options.machineseparator, which is a string but must contain a single
character.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc')
-rw-r--r-- | ctdb/doc/ctdb.1.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml index 170d05a9fa1..b57e595c5c3 100644 --- a/ctdb/doc/ctdb.1.xml +++ b/ctdb/doc/ctdb.1.xml @@ -137,7 +137,17 @@ <listitem> <para> Produce output in machine readable form for easier parsing - by scripts. Not all commands support this option. + by scripts. This uses a field delimiter of ':'. Not all + commands support this option. + </para> + </listitem> + </varlistentry> + + <varlistentry><term>-x <parameter>SEPARATOR</parameter></term> + <listitem> + <para> + Use SEPARATOR to delimit fields in machine readable output. + This implies -Y. </para> </listitem> </varlistentry> |