[flashrom] [PATCH] Use : instead of = for programmer parameters

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Aug 19 17:04:09 CEST 2009


On 19.08.2009 16:44, Stefan Reinauer wrote:
> On 8/19/09 4:41 PM, Carl-Daniel Hailfinger wrote:
>   
>> Current programmer parameter syntax is
>> -p programmer=parameter
>> Unfortunately, many parameters are of the form variable=val, so we get
>> commandlines like this:
>> flashrom -p it87spi=port=0x820
>> and this looks horrible.
>>
>> Using : instead of = would make such parameters look better:
>> flashrom -p it87spi:port=0x820
>>
>> As a side benefit, this patch mentions the programmer name in the error
>> message if it is unknown.
>>
>> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>  
>>     
>
> Acked-by: Stefan Reinauer <stepan at coresystems.de>
>   

Thanks, r693.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list