Merge pull request #73 from tanji/serversjson

Output server list in JSON format
This commit is contained in:
markus456
2015-02-19 16:56:02 +02:00
3 changed files with 89 additions and 0 deletions

View File

@ -157,6 +157,10 @@ struct subcommand showoptions[] = {
"Show all configured servers",
"Show all configured servers",
{0, 0, 0} },
{ "serversjson", 0, dprintAllServersJson,
"Show all configured servers in JSON format",
"Show all configured servers in JSON format",
{0, 0, 0} },
{ "services", 0, dprintAllServices,
"Show all configured services in MaxScale",
"Show all configured services in MaxScale",