[Refdb-cvs] CVS: refdb/src refdbc.c,1.72.2.7,1.72.2.8
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-06-02 20:56:16
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13517 Modified Files: Tag: Release_0_9_5_stable refdbc.c Log Message: allow whichdb in batch mode Index: refdbc.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbc.c,v retrieving revision 1.72.2.7 retrieving revision 1.72.2.8 diff -u -U2 -r1.72.2.7 -r1.72.2.8 --- refdbc.c 5 May 2005 17:25:58 -0000 1.72.2.7 +++ refdbc.c 2 Jun 2005 20:55:53 -0000 1.72.2.8 @@ -3394,9 +3394,4 @@ slvals.outpipe = NULL; - if (n_batchmode) { /* this does not make sense in batch mode */ - fprintf(stderr, "not a valid command in batchmode. use the -d option instead\n"); - return 0; - } - if (strncmp(arg, "-h", 2) == 0) { printf("Prints the name of the current database and some database information\nSyntax: whichdb [-h]\nOptions: -h prints this mini-help\n"); |