From 710fbe07a95e93cd34bf8fddcf3ef2ca1371ed28 Mon Sep 17 00:00:00 2001 From: Esko Dijk Date: Sun, 10 Aug 2025 22:52:52 +0200 Subject: [PATCH] [cli][tcat] fix 'devid' command output to comply to README file description and default OT CLI style (#11802) --- src/cli/cli_tcat.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/cli/cli_tcat.cpp b/src/cli/cli_tcat.cpp index 940340f08..1b56ea34a 100644 --- a/src/cli/cli_tcat.cpp +++ b/src/cli/cli_tcat.cpp @@ -293,11 +293,16 @@ exit: /** * @cli tcat devid * @code - * tcat devid ianapen f378aabb + * tcat devid f378aabb + * Done + * @endcode + * @code + * tcat devid + * f378aabb * Done * @endcode * @cparam tcat devid [@ca{value}|clear] - * * The `value` hexstring value of the ID. `clear` is a special value removing previously set ID. + * * The `value` hexstring value of the ID. `clear` is a special value to remove the previously set ID. * @par * Sets/clears vendor specific device ID. */ @@ -309,7 +314,6 @@ template <> otError Tcat::Process(Arg aArgs[]) { if (sGeneralDeviceId.mDeviceIdLen != 0) { - OutputLine("TCAT DeviceId:"); OutputBytesLine(sGeneralDeviceId.mDeviceId, sGeneralDeviceId.mDeviceIdLen); } ExitNow();