Added warning when a command is missing

This commit is contained in:
Alan Mishchenko 2012-06-15 08:37:56 -07:00
parent 034fc5a14d
commit 98d9d5a61f
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ int CmdCommandDispatch( Abc_Frame_t * pAbc, int * pargc, char *** pargv )
else
{
fprintf( pAbc->Err, "** cmd error: unknown command '%s'\n", argv[0] );
fprintf( pAbc->Err, "(this is likely caused by using an alias defined in \"abc.rc\"\n" );
fprintf( pAbc->Err, "without having this file in the current or parent directory)\n" );
return 1;
}
}