Added command line help for the '-i' option

This commit is contained in:
Klaus Schmidinger 2009-03-27 15:54:42 +01:00
parent e3de25dd11
commit 2e4aa1a595
2 changed files with 3 additions and 1 deletions

View File

@ -6006,3 +6006,4 @@ Video Disk Recorder Revision History
- Modified cFrameDetector::Analyze() to make it process whole frames at once, so
that file I/O overhead is minimized during recording (reported by Günter
Niedermeier).
- Added command line help for the '-i' option.

3
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
* $Id: vdr.c 2.5 2009/02/01 10:13:48 kls Exp $
* $Id: vdr.c 2.6 2009/03/27 15:54:05 kls Exp $
*/
#include <getopt.h>
@ -416,6 +416,7 @@ int main(int argc, char *argv[])
" existing directory, without any \"..\", double '/'\n"
" or symlinks (default: none, same as -g-)\n"
" -h, --help print this help and exit\n"
" -i ID, --instance=ID use ID as the id of this VDR instance (default: 0)\n"
" -l LEVEL, --log=LEVEL set log level (default: 3)\n"
" 0 = no logging, 1 = errors only,\n"
" 2 = errors and info, 3 = errors, info and debug\n"