diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-06-15 08:37:56 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-06-15 08:37:56 -0700 |
commit | 98d9d5a61fbcb5f62bfd5b1db4292c1fa3020e7f (patch) | |
tree | 34a74b61af992bf6ac76a65ddf89fd40f8d5a05e /src/base | |
parent | 034fc5a14dcbc2e195743a2fb8a640d9a6448ff5 (diff) | |
download | abc-98d9d5a61fbcb5f62bfd5b1db4292c1fa3020e7f.tar.gz abc-98d9d5a61fbcb5f62bfd5b1db4292c1fa3020e7f.tar.bz2 abc-98d9d5a61fbcb5f62bfd5b1db4292c1fa3020e7f.zip |
Added warning when a command is missing
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/cmd/cmdUtils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/cmd/cmdUtils.c b/src/base/cmd/cmdUtils.c index 3849b580..0e62edac 100644 --- a/src/base/cmd/cmdUtils.c +++ b/src/base/cmd/cmdUtils.c @@ -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; } } |