Add host0 and host1 help documentation description.
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
-t <type>::
--telemetry-type=<type>::
- If set to 1, controller shall capture the Telemetry Host-Initiated data
+ Set the telemetry type to 'host', 'host0', 'host1' or 'controller'.
+ If set to host1, controller shall capture the Telemetry Host-Initiated data
representing the internal state of the controller at the time the associated
- Get Log Page command is processed. If cleared to 0, controller shall not
+ Get Log Page command is processed. If set to host0, controller shall not
update this data.
EXAMPLES
local _internal_log
_internal_log=(
/dev/nvme':supply a device to use (required)'
- --telemetry-type=':Telemetry Type; host or controller generated'
+ --telemetry-type=':Telemetry Type; host, host0, host1 or controller generated'
-t':alias for --telemetry-type'
--data-area=':Telemetry Data Area; 1 or 2'
-a':alias for --data-area'
const char *output_format = "output format normal|json";
const char *data_area = "Telemetry Data Area; 1 or 2;\n"
"e.g. '-a 1 for Data Area 1.'\n'-a 2 for Data Areas 1 and 2.';\n";
- const char *telemetry_type = "Telemetry Type; 'host' or 'controller'";
+ const char *telemetry_type = "Telemetry Type; 'host', 'host0', 'host1' or 'controller'";
struct nvme_dev *dev;
int err = 0;
else if (!strcmp(opt.telemetry_type, "controller"))
tele_type = TELEMETRY_TYPE_CONTROLLER;
else {
- nvme_show_error("telemetry-type should be host or controller.\n");
+ nvme_show_error(
+ "telemetry-type should be host, host0, host1 or controller.\n");
goto out;
}
} else {