mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
display short version info for "ver" as default
use /c, /r or /w to get more details svn path=/trunk/; revision=32085
This commit is contained in:
@@ -72,17 +72,14 @@ INT cmd_ver (LPTSTR cmd, LPTSTR param)
|
||||
}
|
||||
|
||||
ShortVersion();
|
||||
ConOutPuts (_T("Copyright (C) 1994-1998 Tim Norman and others."));
|
||||
ConOutPuts (_T("Copyright (C) 1998-" COPYRIGHT_YEAR " ReactOS Team"));
|
||||
|
||||
/* Basic copyright notice */
|
||||
if (param[0] == _T('\0'))
|
||||
{
|
||||
ConOutResPuts (STRING_CMD_SHELLINFO );
|
||||
ConOutResPuts(STRING_VERSION_HELP2);
|
||||
}
|
||||
else
|
||||
if (param[0] != _T('\0'))
|
||||
{
|
||||
|
||||
ConOutPuts (_T("Copyright (C) 1994-1998 Tim Norman and others."));
|
||||
ConOutPuts (_T("Copyright (C) 1998-" COPYRIGHT_YEAR " ReactOS Team"));
|
||||
|
||||
for (i = 0; param[i]; i++)
|
||||
{
|
||||
/* skip spaces */
|
||||
@@ -124,9 +121,8 @@ INT cmd_ver (LPTSTR cmd, LPTSTR param)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
ConOutResPuts(STRING_VERSION_HELP5);
|
||||
}
|
||||
|
||||
ConOutResPuts(STRING_VERSION_HELP5);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user