[Samba] wbinfo -U arguments vs --help

Rowland Penny rpenny at samba.org
Mon Oct 31 13:50:08 UTC 2022



On 31/10/2022 13:10, Michael Tokarev wrote:

> 
> Oh! :)  Well, it is even more important in this case to give clean
> error message instead of dumping whole --help test on another unsuspecting
> user like me ;))

Couldn't agree with you more.

> 
>>> Invalid option
>>> Usage: [OPTION...]
> 
> Because I can't even think - after being in this industry for 30+ years -
> that "invalid option" means invalid *value* for an option.  DOH!.. :))

Yes, 'option' != 'value', but I think it is referring to the entire 
option i.e. '--parameter=value', this could be clearer.

> 
> ..
>> If you wish to change it, I would expect that patches would be readily 
>> acceptable ;-)
> 
> Yeah. Dunno. It should be easy to fix.
> 
> Thanks,
> 
> /mjt

Rowland



More information about the samba mailing list