Moved match argument

date	2000.05.10.22.55.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:16:03 +00:00
parent 05cc540031
commit ec19e1318b

View File

@ -310,46 +310,6 @@ DbGetFromHistory (
}
/******************************************************************************
*
* FUNCTION: DbMatchArgument
*
* PARAMETERS: UserArgument - User command line
*
* RETURN: Index into command array, -1 if not found
*
* DESCRIPTION: Search command array for a command match
*
*****************************************************************************/
INT32
DbMatchArgument (
char *UserArgument,
ARGUMENT_INFO *Arguments)
{
UINT32 i;
if (!UserArgument || UserArgument[0] == 0)
{
return -1;
}
for (i = 0; Arguments[i].Name; i++)
{
if (STRSTR (Arguments[i].Name, UserArgument) == Arguments[i].Name)
{
return i;
}
}
/* Argument not recognized */
return -1;
}
/******************************************************************************
*
* FUNCTION: DbDisplayTableInfo