Thread: [Refdb-cvs] CVS: refdb/src refdbc.c,1.62,1.63
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mho...@us...> - 2004-01-29 11:58:26
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25121 Modified Files: refdbc.c Log Message: fixed help messages Index: refdbc.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbc.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -U2 -r1.62 -r1.63 --- refdbc.c 17 Jan 2004 22:56:16 -0000 1.62 +++ refdbc.c 25 Jan 2004 13:25:52 -0000 1.63 @@ -381,5 +381,5 @@ break; case 'h': - fprintf(stderr, "Usage: refdbc [-c pager] [-C command] [-d db] [-e logdest] [-E encoding] [-F fields] [-G url] [-h] [-i address] [-l loglevel] [-L logfile] [-p port] [-q] [-R pdfroot] [-T time] [-u name] [-v] [-V] [-w password] [-y confdir]\nOptions: -c command line of pager\n -C run command in batch mode\n -d use database db\n -e log destination (0=stderr;1=syslog;2=custom file)\n -E set encoding for output\n -F additional fields in reference output\n -G URL of a css stylesheet for HTML output\n -h prints this help\n -i set server IP address\n -l set log level (0<=level<=7)\n -L full path of custom log file\n -p set server port\n -q ignore init-file\n -R set pdf root directory\n -T set timeout in seconds\n -u use this username\n -v show version information\n -V switch to verbose mode\n -w set password (use '*' to be asked interactively)\n -y look for configuration files in confdir\n"); + fprintf(stderr, "Usage: refdbc [-c pager] [-C command] [-d db] [-e logdest] [-F fields] [-G url] [-h] [-i address] [-l loglevel] [-L logfile] [-p port] [-q] [-R pdfroot] [-T time] [-u name] [-v] [-V] [-w password] [-y confdir]\nOptions: -c command line of pager\n -C run command in batch mode\n -d use database db\n -e log destination (0=stderr;1=syslog;2=custom file)\n -F additional fields in reference output\n -G URL of a css stylesheet for HTML output\n -h prints this help\n -i set server IP address\n -l set log level (0<=level<=7)\n -L full path of custom log file\n -p set server port\n -q ignore init-file\n -R set pdf root directory\n -T set timeout in seconds\n -u use this username\n -v show version information\n -V switch to verbose mode\n -w set password (use '*' to be asked interactively)\n -y look for configuration files in confdir\n"); exit (0); break; @@ -462,5 +462,5 @@ break; case ':': - fprintf(stderr, "Usage: refdbc [-c pager] [-C command] [-d db] [-e logdest] [-E encoding] [-F fields] [-G url] [-h] [-i address] [-l loglevel] [-L logfile] [-p port] [-q] [-R pdfroot] [-T time] [-u name] [-v] [-V] [-w password] [-y confdir]\nOptions: -c command line of pager\n -C run command in batch mode\n -d use database db\n -e log destination (0=stderr;1=syslog;2=custom file)\n -E set encoding for output\n -F additional fields in reference output\n -G URL of a css stylesheet for HTML output\n -h prints this help\n -i set server IP address\n -l set log level (0<=level<=7)\n -L full path of custom log file\n -p set server port\n -q ignore init-file\n -R set pdf root directory\n -T set timeout in seconds\n -u use this username\n -v show version information\n -V switch to verbose mode\n -w set password (use '*' to be asked interactively)\n -y look for configuration files in confdir\n"); + fprintf(stderr, "Usage: refdbc [-c pager] [-C command] [-d db] [-e logdest] [-F fields] [-G url] [-h] [-i address] [-l loglevel] [-L logfile] [-p port] [-q] [-R pdfroot] [-T time] [-u name] [-v] [-V] [-w password] [-y confdir]\nOptions: -c command line of pager\n -C run command in batch mode\n -d use database db\n -e log destination (0=stderr;1=syslog;2=custom file)\n -F additional fields in reference output\n -G URL of a css stylesheet for HTML output\n -h prints this help\n -i set server IP address\n -l set log level (0<=level<=7)\n -L full path of custom log file\n -p set server port\n -q ignore init-file\n -R set pdf root directory\n -T set timeout in seconds\n -u use this username\n -v show version information\n -V switch to verbose mode\n -w set password (use '*' to be asked interactively)\n -y look for configuration files in confdir\n"); exit (1); break; @@ -2012,5 +2012,5 @@ break; case 'h': - printf("Displays the result of a database search.\nSyntax: getref [-c command] [-d database] [-h] [-o outfile] [-O outfile][-P] [-R pdfroot] [-s format] [-S tag] [-t output-format] {search-string|-f infile}\nSearch-string: {:XY:{<|=|!=|>}{unix-regexp}} [AND|OR|AND NOT] [...]\nwhere XY specifies the field to search in\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -P limit search to personal interest list\n -R use pdfroot as root for path of pdf files\n -s format specify fields for screen or style for DocBook output\n -S tag sort output by tag ID (default) or PY\n -t output-format display as format scrn, html, xhtml, db31, db31x, teix, ris, risx, or bibtex\n -f infile use the saved search line in file infile\n All other arguments are interpreted as the search string.\n"); + printf("Displays the result of a database search.\nSyntax: getref [-c command] [-d database] [-E encoding] [-h] [-o outfile] [-O outfile][-P] [-R pdfroot] [-s format] [-S tag] [-t output-format] {search-string|-f infile}\nSearch-string: {:XY:{<|=|!=|>}{unix-regexp}} [AND|OR|AND NOT] [...]\nwhere XY specifies the field to search in\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -E encoding set the output character encoding\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -P limit search to personal interest list\n -R use pdfroot as root for path of pdf files\n -s format specify fields for screen or style for DocBook output\n -S tag sort output by tag ID (default) or PY\n -t output-format display as format scrn, html, xhtml, db31, db31x, teix, ris, risx, or bibtex\n -f infile use the saved search line in file infile\n All other arguments are interpreted as the search string.\n"); delete_all_lilimem(&sentinel); return 0; @@ -2886,5 +2886,5 @@ case 'h': delete_all_lilimem(&sentinel); - fprintf(errstream, "Replaces the specified references in the database\nSyntax: updateref [-c command] [-d database] [-h] [-o outfile] [-O outfile] [-P] [-t type] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -f infile Read the names of the files with the references from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -P update only personal information (AV, N1, RP)\n -t input data type (ris|risx), ris is default\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); + fprintf(errstream, "Replaces the specified references in the database\nSyntax: updateref [-c command] [-d database] [-E encoding] [-h] [-o outfile] [-O outfile] [-P] [-t type] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -E encoding specify the input character encoding\n -f infile Read the names of the files with the references from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -P update only personal information (AV, N1, RP)\n -t input data type (ris|risx), ris is default\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); return 0; break; @@ -2980,5 +2980,5 @@ case 'h': delete_all_lilimem(&sentinel); - fprintf(errstream, "Adds the specified references to the database\nSyntax: addref [-c command] [-d database] [-g deffile] [-h] [-k] [-o outfile] [-O outfile] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -f infile Read the names of the files with the references from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -k keep reference ID\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -t input data type (ris|risx), ris is default\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); + fprintf(errstream, "Adds the specified references to the database\nSyntax: addref [-c command] [-d database] [-E encoding] [-g deffile] [-h] [-k] [-o outfile] [-O outfile] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -E encoding specify the input character encoding\n -f infile Read the names of the files with the references from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -k keep reference ID\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -t input data type (ris|risx), ris is default\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); return 0; break; @@ -3562,5 +3562,5 @@ case 'h': delete_all_lilimem(&sentinel); - fprintf(errstream, "Replaces the specified notes in the database\nSyntax: updatenote [-c command] [-d database] [-h] [-o outfile] [-O outfile] [-P] [-t type] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -f infile Read the names of the files with the notes from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); + fprintf(errstream, "Replaces the specified notes in the database\nSyntax: updatenote [-c command] [-d database] [-E encoding] [-h] [-o outfile] [-O outfile] [-P] [-t type] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -E encoding specify the input character encoding\n -f infile Read the names of the files with the notes from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); return 0; break; @@ -3654,5 +3654,5 @@ case 'h': delete_all_lilimem(&sentinel); - fprintf(errstream, "Adds the specified notes to the database\nSyntax: addnote [-c command] [-d database] [-g deffile] [-h] [-k] [-o outfile] [-O outfile] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -f infile Read the names of the files with the notes from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -k keep note ID\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); + fprintf(errstream, "Adds the specified notes to the database\nSyntax: addnote [-c command] [-d database] [-E encoding] [-g deffile] [-h] [-k] [-o outfile] [-O outfile] [-U username] {file|-f infile}\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -E encoding specify the input character encoding\n -f infile Read the names of the files with the notes from file infile\n -g deffile read global fields from file deffile\n -h prints this mini-help\n -k keep note ID\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -U username specify a different username than the current user\n All other arguments are interpreted as filenames.\n"); return 0; break; @@ -4459,5 +4459,5 @@ break; case 'h': - printf("Displays the result of a database search for notes.\nSyntax: getnote [-c command] [-d database] [-h] [-o outfile] [-O outfile][-P] [-R pdfroot] [-s format] [-S tag] [-t output-format] {search-string|-f infile}\nSearch-string: {:XY:{<|=|!=|>}{unix-regexp}} [AND|OR|AND NOT] [...]\nwhere XY specifies the field to search in\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -P limit search to personal interest list\n -R use pdfroot as root for path of pdf files\n -s format specify fields for screen or style for DocBook output\n -S tag sort output by tag ID (default) or PY\n -t output-format display as format scrn, html, xhtml, or xnote\n -f infile use the saved search line in file infile\n All other arguments are interpreted as the search string.\n"); + printf("Displays the result of a database search for notes.\nSyntax: getnote [-c command] [-d database] [-E encoding] [-h] [-o outfile] [-O outfile][-P] [-R pdfroot] [-s format] [-S tag] [-t output-format] {search-string|-f infile}\nSearch-string: {:XY:{<|=|!=|>}{unix-regexp}} [AND|OR|AND NOT] [...]\nwhere XY specifies the field to search in\nOptions: -c command pipe the output through command\n -d database specify the database to work with\n -E encoding specify the input character encoding\n -h prints this mini-help\n -o outfile save the output in outfile (overwrite)\n -O outfile append the output to outfile\n -P limit search to personal interest list\n -R use pdfroot as root for path of pdf files\n -s format specify fields for screen or style for DocBook output\n -S tag sort output by tag ID (default) or PY\n -t output-format display as format scrn, html, xhtml, or xnote\n -f infile use the saved search line in file infile\n All other arguments are interpreted as the search string.\n"); delete_all_lilimem(&sentinel); return 0; |