diff --git a/base/applications/sc/query.c b/base/applications/sc/query.c index 54e04277b2b..87b2468cfdf 100644 --- a/base/applications/sc/query.c +++ b/base/applications/sc/query.c @@ -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; } diff --git a/base/applications/sc/usage.c b/base/applications/sc/usage.c index b1b4a04925a..ec431f68562 100644 --- a/base/applications/sc/usage.c +++ b/base/applications/sc/usage.c @@ -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")