ctdb-tools: Add -x option to specify delimiter for machine readable output
commit3b90e45bae555cc4a47fe9958b86628d41084868
authorMartin Schwenke <martin@meltin.net>
Wed, 19 Nov 2014 06:15:21 +0000 (19 17:15 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 5 Dec 2014 20:02:39 +0000 (5 21:02 +0100)
treebf0b672c9e21229b4f20edc2337ad4a268d848f6
parentfbacbb9c7868e22c04980af3602bae59dd5fe34d
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>
ctdb/doc/ctdb.1.xml
ctdb/tools/ctdb.c