Print usage in the UNIX adapter.

This commit is contained in:
Ryan Prichard 2012-03-24 17:20:08 -07:00
parent 5010f5e1a6
commit 9ed1b5b286

View File

@ -279,6 +279,12 @@ static std::wstring makeEnvironBlock()
int main(int argc, char *argv[])
{
if (argc == 1) {
printf("Usage: %s program [args]\n",
argv[0]);
return 0;
}
{
// Copy the PCONSOLEDBG environment variable from the Cygwin environment
// to the Win32 environment so the agent will inherit it.