ctl-commands: Use slightly more helpful schemas
parent
6174ff21f7
commit
4fb15640e2
|
@ -50,7 +50,7 @@ struct cmd_info ctl_command_list[] = {
|
||||||
{
|
{
|
||||||
{ "id",
|
{ "id",
|
||||||
"The ID of the client to disconnect",
|
"The ID of the client to disconnect",
|
||||||
"<id>", true },
|
"<integer>", true },
|
||||||
{},
|
{},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -67,7 +67,7 @@ struct cmd_info ctl_command_list[] = {
|
||||||
{
|
{
|
||||||
{ "output-name",
|
{ "output-name",
|
||||||
"The specific output name to capture",
|
"The specific output name to capture",
|
||||||
"<name>", true },
|
"<string>", true },
|
||||||
{},
|
{},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -80,16 +80,16 @@ struct cmd_info ctl_command_list[] = {
|
||||||
#define CLIENT_EVENT_PARAMS(including) \
|
#define CLIENT_EVENT_PARAMS(including) \
|
||||||
{ "id", \
|
{ "id", \
|
||||||
"A unique identifier for this client", \
|
"A unique identifier for this client", \
|
||||||
"<id>" }, \
|
"<integer>" }, \
|
||||||
{ "connection_count", \
|
{ "connection_count", \
|
||||||
"The total number of connected VNC clients " including " this one.", \
|
"The total number of connected VNC clients " including " this one.", \
|
||||||
"<count>" }, \
|
"<integer>" }, \
|
||||||
{ "hostname", \
|
{ "hostname", \
|
||||||
"The hostname or IP address of this client (may be null)", \
|
"The hostname or IP address of this client (may be null)", \
|
||||||
"<name|ip>" }, \
|
"<name|ip>" }, \
|
||||||
{ "username", \
|
{ "username", \
|
||||||
"The username used to authentice this client (may be null).", \
|
"The username used to authentice this client (may be null).", \
|
||||||
"<name>" }, \
|
"<string>" }, \
|
||||||
{},
|
{},
|
||||||
|
|
||||||
struct cmd_info ctl_event_list[] = {
|
struct cmd_info ctl_event_list[] = {
|
||||||
|
@ -98,7 +98,7 @@ struct cmd_info ctl_event_list[] = {
|
||||||
{
|
{
|
||||||
{ "output-name",
|
{ "output-name",
|
||||||
"The name of the output now being captured",
|
"The name of the output now being captured",
|
||||||
"<name>" },
|
"<string>" },
|
||||||
{},
|
{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue