mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 10:14:14 +00:00
Make version output more human-friendly
Our main version string is designed for release engineering purposes: it matches file name conventions used for versioned tarballs and the versions sort lexicographically while containing all pertinent information. With this commit we add in parentheses a more human-friendly rendering of the version string: we spell out the meaning of each field and render the datetime in RFC 822 notation.
This commit is contained in:
1 parent
cae357e784
commit
a8019d803c
10 files changed
+48
-6
No files matched your search
@@ -285,7 +285,7 @@ SWITCH_STANDARD_API(shutdown_function)
|
||||
|
||||
SWITCH_STANDARD_API(version_function)
|
||||
{
|
||||
stream->write_function(stream, "FreeSWITCH Version %s\n", SWITCH_VERSION_FULL);
|
||||
stream->write_function(stream, "FreeSWITCH Version %s (%s)\n", SWITCH_VERSION_FULL, SWITCH_VERSION_FULL_HUMAN);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user