[vdr] Re: plugin load and --help

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sun Mar 26 20:36:43 CEST 2006

Udo Richter wrote:
> Klaus Schmidinger wrote:
>> - Removed the log message "deleting plugin: ..." when shutting down 
>> VDR   (thanks to Christoph Haubrich for reporting that this is 
>> irritating when calling   "vdr --help").
> While we're at --help and plugins:
> There is no way how a plugin can detect whether it was loaded regularly 
> or just for displaying --help or --version. In the latter cases, 
> ProcessArgs() will be called with empty parameters and cannot fail 
> because it is missing a parameter. If it does fail, VDR stops loading 
> plugins and shows --help and --version only for plugins loaded before 
> the failed one.
> (do we need to call ProcessArgs() at all for --help/--version?)

What's the point in adding -P parameters to a 'vdr --help'
call, anyway?


More information about the vdr mailing list