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:
Shu Chen
2016-08-10 20:02:29 -07:00
committed by Jonathan Hui
parent cfdc53088e
commit cefea1a3c6
7 changed files with 50 additions and 3 deletions
+1 -1
View File
@@ -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;