jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

(PATCH) Better commandline handling #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Included is a diff against svn r1226 which will make the command line
parameter handling slightly better:

1) Also accepts "-" and "--"  to denote an option, not just "/", this means
"/quadruple" and "-quadruple" and "--quadruple" work.
2) Accepts a best match, as long as the parameter is uniquely matched: "/q"
or "/qu" or "/qua" or "/quad" are equal to "/quadruple", as no other
parameters start with "q", but "/tal" is not accepted as it would match
both "/tall" and "/tall2".  "/tall" is accepted, because it matches exactly.

Original issue reported on code.google.com by pasi.kal...@gmail.com on 28 Nov 2009 at 12:44

Attachments:

GoogleCodeExporter commented 9 years ago
Integrated in r1227, thank you!

Original comment by yrizoud on 29 Nov 2009 at 6:26