mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:23:06 +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();
|
ShortVersion();
|
||||||
|
|
||||||
|
/* Basic copyright notice */
|
||||||
|
if (param[0] != _T('\0'))
|
||||||
|
{
|
||||||
|
|
||||||
ConOutPuts (_T("Copyright (C) 1994-1998 Tim Norman and others."));
|
ConOutPuts (_T("Copyright (C) 1994-1998 Tim Norman and others."));
|
||||||
ConOutPuts (_T("Copyright (C) 1998-" COPYRIGHT_YEAR " ReactOS Team"));
|
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
|
|
||||||
{
|
|
||||||
for (i = 0; param[i]; i++)
|
for (i = 0; param[i]; i++)
|
||||||
{
|
{
|
||||||
/* skip spaces */
|
/* skip spaces */
|
||||||
|
@ -124,9 +121,8 @@ INT cmd_ver (LPTSTR cmd, LPTSTR param)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ConOutResPuts(STRING_VERSION_HELP5);
|
ConOutResPuts(STRING_VERSION_HELP5);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue