On 13/01/2010 18:39, John Molohan said the following:
> Duncan Webb wrote:
>> Ruben wrote:
>>
>>   
>>> Thanks Evan, I could finally put the right command line arguments 
>>> checking the source.
>>>  
>>> I'll try to use what you say.
>>>     
>> Did you mean the following?
>> freevo cache --video-thumbs --recursive /home/freevo/video
>>
>> All helpers have help but getting it is not that obvious the trick is to 
>> tell freevo not to process the --help option but to pass it on; This is 
>> archived by using a double-dash so:
>> # freevo cache -- --help
>>
>> You will see similar command line options with X.
>>
>> Duncan
>>   
> This seems like really bizarre behaviour and I doubt anyone would work 
> that out. Is there no easy way around it?


No. The --help option is taken by the optparse modules in the freevo 
script and cannot be passed on. The -- option tells optparse to stop 
processing arguments, this allows the --help option to be passed on.

So:
freevo --help gives the help from the freevo script
freevo cache -- --help gives the help from the help script.

Duncan


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to