<div dir="ltr">Hi Pietro,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 1:39 PM, Pietro <span dir="ltr"><<a href="mailto:peter.zamb@gmail.com" target="_blank">peter.zamb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all!<br>
<br>
I'm trying to write a grass7 add-ons, but I'm fighting with one<br>
parameter that wont work... and I'm not able to understand where the<br>
problem is...<br>
<br>
the python code is:<br>
<br>
{{{<br>
ERROR: Sorry <Kchk=K_chk> is not a valid option<br>
}}}<br>
<br>
Do you understand what I'm doing wrong? why is ychk working?<br>
I'm using grass r57429<br></blockquote><div><br></div><div>It seems that uppercase letters are not allowed for option names, see is_option function in parser.c</div><div><a href="http://grass.osgeo.org/programming7/parser_8c_source.html">http://grass.osgeo.org/programming7/parser_8c_source.html</a><br>
</div><div><br></div><div>I guess you have some reason to use uppercase letters but maybe it would still be better to use lowercase letters to avoid confusion in the future (not to start mixing camelCase and snake_case for example)?</div>
<div><br></div><div>Anna</div></div></div></div>