[SC] Addendum to 4728157: Add missed values to query errors and usage output. (#387)

This commit is contained in:
Serge Gautherie 2018-02-20 19:45:55 +01:00 committed by Hermès BÉLUSCA - MAÏTO
parent 3263303844
commit e1bd79e3df
2 changed files with 3 additions and 3 deletions

View file

@ -191,7 +191,7 @@ ParseQueryArguments(
}
else
{
_tprintf(_T("ERROR following \"type=\"!\nMust be \"driver\" or \"service\"\n"));
_tprintf(_T("ERROR following \"type=\"!\nMust be one of: all, driver, interact, service.\n"));
return FALSE;
}
@ -220,7 +220,7 @@ ParseQueryArguments(
}
else
{
_tprintf(_T("ERROR following \"state=\"!\nMust be \"inactive\" or \"all\"\n"));
_tprintf(_T("ERROR following \"state=\"!\nMust be one of: active, all, inactive.\n"));
return FALSE;
}

View file

@ -66,7 +66,7 @@ VOID MainUsage(VOID)
_T(" the options listed below, the services are enumerated.\n")
_T(" type= Type of services to enumerate (driver, service, interact, all)\n")
_T(" (default = service)\n")
_T(" state= State of services to enumerate (inactive, all)\n")
_T(" state= State of services to enumerate (active, all, inactive)\n")
_T(" (default = active)\n")
_T(" bufsize= The size (in bytes) of the enumeration buffer\n")
_T(" (default = 4096)\n")