mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 17:53:43 +00:00
Make command parsing in DoCommand/Execute more compatible with Windows
svn path=/trunk/; revision=40280
This commit is contained in:
parent
47bc28fa47
commit
ad25b56ea8
5 changed files with 120 additions and 249 deletions
|
@ -704,11 +704,7 @@ INT CommandShowCommandsDetail (LPTSTR param)
|
|||
/* If a param was send, display help of correspondent command */
|
||||
if (_tcslen(param))
|
||||
{
|
||||
LPTSTR NewCommand = cmd_alloc((_tcslen(param)+4)*sizeof(TCHAR));
|
||||
_tcscpy(NewCommand, param);
|
||||
_tcscat(NewCommand, _T(" /?"));
|
||||
DoCommand(NewCommand, NULL);
|
||||
cmd_free(NewCommand);
|
||||
DoCommand(param, _T("/?"), NULL);
|
||||
}
|
||||
/* Else, display detailed commands list */
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue