New command tagtypes available
Shows the list of tag types configured by the ``metadata_to_use`` setting.
This commit is contained in:
@@ -104,6 +104,9 @@ handle_tagtypes(Client &client, Request request, Response &r)
|
||||
} else if (StringIsEqual(cmd, "disable")) {
|
||||
client.tag_mask &= ~ParseTagMask(request);
|
||||
return CommandResult::OK;
|
||||
} else if (StringIsEqual(cmd, "available")) {
|
||||
tag_print_types_available(r);
|
||||
return CommandResult::OK;
|
||||
} else {
|
||||
r.Error(ACK_ERROR_ARG, "Unknown sub command");
|
||||
return CommandResult::ERROR;
|
||||
|
Reference in New Issue
Block a user