mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +00:00
[DISKPART]
- Correct command processing following the first command in interactive mode. - Correct invocation of command-specific help functions. svn path=/trunk/; revision=57447
This commit is contained in:
parent
bdd3db1d3d
commit
e36d4c8c40
2 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,7 @@ BOOL help_main(INT argc, WCHAR **argv)
|
|||
/* Scan internal command table */
|
||||
for (cmdptr = cmds; cmdptr->name; cmdptr++)
|
||||
{
|
||||
if (_wcsicmp(argv[0], cmdptr->name) == 0 && cmdptr->help != NULL)
|
||||
if (_wcsicmp(argv[1], cmdptr->name) == 0 && cmdptr->help != NULL)
|
||||
{
|
||||
cmdptr->help(argc, argv);
|
||||
return TRUE;
|
||||
|
|
|
@ -156,6 +156,7 @@ InterpretMain(VOID)
|
|||
|
||||
while (bRun == TRUE)
|
||||
{
|
||||
args_count = 0;
|
||||
memset(args_vector, 0, sizeof(args_vector));
|
||||
|
||||
/* shown just before the input where the user places commands */
|
||||
|
|
Loading…
Reference in a new issue