Mercurial > hg > audiodb
diff audioDB.cpp @ 9:378c2483c926
Apparently, gengetopt only allows single dependencies between options.
Make -I/--INSERT (single insert) depend on -f/--features, and
-f/--features depend on -d/--database.
Slightly better error message for one failure mode
author | mas01cr |
---|---|
date | Wed, 25 Jul 2007 16:06:21 +0000 |
parents | 12be3560ff0f |
children | 3ab41608a474 |
line wrap: on
line diff
--- a/audioDB.cpp Wed Jul 25 15:39:26 2007 +0000 +++ b/audioDB.cpp Wed Jul 25 16:06:21 2007 +0000 @@ -464,7 +464,7 @@ // open the input file if (inFile && (infid = open (inFile, O_RDONLY)) < 0) - error("can't open feature file for reading", inFile); + error("can't open input file for reading", inFile); // find size of input file if (inFile && fstat (infid,&statbuf) < 0)