mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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:
parent
696d5b4b7c
commit
d91afce7df
1 changed files with 6 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue