mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user