mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 01:30:11 +00:00
Include platform details in version information (#347)
- add --with-platform-info configuration option to specify platform information - add otGetVersionString() interface to get OpenThread version
This commit is contained in:
+1
-1
@@ -1391,7 +1391,7 @@ exit:
|
||||
|
||||
void Interpreter::ProcessVersion(int argc, char *argv[])
|
||||
{
|
||||
sServer->OutputFormat("%s\r\n", PACKAGE_NAME "/" PACKAGE_VERSION "; " __DATE__ " " __TIME__);
|
||||
sServer->OutputFormat("%s\r\n", otGetVersionString());
|
||||
AppendResult(kThreadError_None);
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
Reference in New Issue
Block a user