| 434 | void showUsage(const MythCommandLineParser &cmdlineparser) |
| 435 | { |
| 436 | QString help = cmdlineparser.GetHelpString(false); |
| 437 | QByteArray ahelp = help.toLocal8Bit(); |
| 438 | |
| 439 | cerr << "Valid options are: " << endl << |
| 440 | "-h or --help List valid command line parameters" << endl << |
| 441 | "-l or --logfile filename Writes STDERR and STDOUT messages to filename" << endl << |
| 442 | "-p or --pidfile filename Write PID of mythbackend to filename" << endl << |
| 443 | "-d or --daemon Runs mythbackend as a daemon" << endl << |
| 444 | "-v or --verbose debug-level Use '-v help' for level info" << endl << |
| 445 | "--printexpire List of auto-expire programs" << endl << |
| 446 | "--printsched Upcoming scheduled programs" << endl << |
| 447 | "--testsched Test run scheduler (ignore existing schedule)" << endl << |
| 448 | "--resched Force the scheduler to update" << endl << |
| 449 | "--nosched Do not perform any scheduling" << endl << |
| 450 | "--noupnp Do not enable the UPNP server" << endl << |
| 451 | "--nojobqueue Do not start the JobQueue" << endl << |
| 452 | "--nohousekeeper Do not start the Housekeeper" << endl << |
| 453 | "--noautoexpire Do not start the AutoExpire thread" << endl << |
| 454 | "--clearcache Clear the settings cache on all myth servers" << endl << |
| 455 | ahelp.constData() << |
| 456 | "--generate-preview Generate a preview image" << endl << |
| 457 | "--upnprebuild Force an update of UPNP media" << endl << |
| 458 | "--infile Input file for preview generation" << endl << |
| 459 | "--outfile Optional output file for preview generation" << endl << |
| 460 | "--chanid Channel ID for preview generation" << endl << |
| 461 | "--starttime Recording start time for preview generation" << endl |
| 462 | << endl; |
| 463 | |
| 464 | } |
| 465 | |
690 | | cerr << "Valid options are: " << endl << |
691 | | "-h or --help List valid command line parameters" << endl << |
692 | | "-l or --logfile filename Writes STDERR and STDOUT messages to filename" << endl << |
693 | | "-p or --pidfile filename Write PID of mythbackend " << |
694 | | "to filename" << endl << |
695 | | "-d or --daemon Runs mythbackend as a daemon" << endl << |
696 | | "-v or --verbose debug-level Use '-v help' for level info" << endl << |
697 | | "--printexpire List of auto-expire programs" << endl << |
698 | | "--printsched Upcoming scheduled programs" << endl << |
699 | | "--testsched Test run scheduler (ignore existing schedule)" << endl << |
700 | | "--resched Force the scheduler to update" << endl << |
701 | | "--nosched Do not perform any scheduling" << endl << |
702 | | "--noupnp Do not enable the UPNP server" << endl << |
703 | | "--nojobqueue Do not start the JobQueue" << endl << |
704 | | "--nohousekeeper Do not start the Housekeeper" << endl << |
705 | | "--noautoexpire Do not start the AutoExpire thread" << endl << |
706 | | "--clearcache Clear the settings cache on all myth servers" << endl << |
707 | | ahelp.constData() << |
708 | | "--generate-preview Generate a preview image" << endl << |
709 | | "--upnprebuild Force an update of UPNP media" << endl << |
710 | | "--infile Input file for preview generation" << endl << |
711 | | "--outfile Optional output file for preview generation" << endl << |
712 | | "--chanid Channel ID for preview generation" << endl << |
713 | | "--starttime Recording start time for preview generation" << endl; |
| 728 | showUsage(cmdline); |