[cli] refine debug command list for better diagnostic output (#12799)

Removed redundant channel, panid, and extpanid commands. Their
information is now more comprehensively provided by the dataset active
-ns output.

Removed partitionid from the debug command list as it was redundant
with leaderdata.
This commit is contained in:
Yang Song
2026-04-08 01:24:32 -05:00
committed by GitHub
parent 87d39dbf5e
commit d42343caa8
2 changed files with 3 additions and 7 deletions
+2 -3
View File
@@ -1536,11 +1536,10 @@ The generated output encompasses the following information:
- Version
- Current state
- Uptime and attach time
- Channel
- PAN IDs, extended MAC address, and RLOC16
- Extended MAC address and RLOC16
- Active Operational Dataset (redacted)
- Unicast and multicast IPv6 address list
- Network Data
- Partition ID
- Leader Data
- Buffer info
- Network statistics
+1 -4
View File
@@ -6857,14 +6857,11 @@ template <> otError Interpreter::Process<Cmd("debug")>(Arg aArgs[])
"uptime",
#endif
"attachtime",
"channel",
"panid",
"extpanid",
"dataset active -ns",
"ipaddr -v",
"ipmaddr",
"netdata show",
"netdata show -x",
"partitionid",
"leaderdata",
"bufferinfo",
"netstat",