Report SICS version information on "SICServer -v"

This commit is contained in:
Douglas Clowes
2013-02-15 13:27:03 +11:00
parent 639e7af80c
commit 0e52709cdc
2 changed files with 12 additions and 0 deletions

View File

@@ -105,6 +105,12 @@ int SICS_Revision(SConnection *pCon, SicsInterp *pSics, void *pData, int argc, c
return OKOK;
};
void SiteReportVersion(void)
{
fprintf(stdout, "SICS version=%s revision=%s at %s\n",
SICS_VERSION, SICS_REVISION, SICS_SITE);
}
static int MacroFileEvalGlob(SConnection * pCon, SicsInterp * pInter, void *pData,
int argc, char *argv[])
{