MXS-2220 Move rest of dcb printing functions to private class

This commit is contained in:
Esa Korhonen
2018-12-11 10:38:31 +02:00
parent 2b0eac2cd0
commit 3f81a37e70
4 changed files with 63 additions and 47 deletions

View File

@ -336,13 +336,13 @@ struct subcommand showoptions[] =
{ARG_TYPE_SERVER }
},
{
"servers", 0, 0, (FN)dprintAllServers,
"servers", 0, 0, (FN)Server::dprintAllServers,
"Show all servers",
"Usage: show servers",
{0 }
},
{
"serversjson", 0, 0, (FN)dprintAllServersJson,
"serversjson", 0, 0, (FN)Server::dprintAllServersJson,
"Show all servers in JSON",
"Usage: show serversjson",
{0 }
@ -494,7 +494,7 @@ struct subcommand listoptions[] =
{0 }
},
{
"servers", 0, 0, (FN)dListServers,
"servers", 0, 0, (FN)Server::dListServers,
"List all servers",
"Usage: list servers",
{0 }