octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45367] addParameter and partial matching for


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #45367] addParameter and partial matching for inputParser
Date: Wed, 04 May 2016 14:57:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0

Follow-up Comment #4, bug #45367 (project octave):

I was not very clear the first time.

In this patch, the addParameter option is pretty much an alias for
addParamValue and only has an extra option at the end for
PartialMatchPriority. Is it true that Matlab really behaves that way?

If I was doing this myself at Mathworks, and the only difference was an extra
option at the end, I could just add that extra option to addParamValue.  The
new extra option would still be backwards compatibility. To me, that suggests
that AddParamValue and addParameter must behave somewhat different internally
otherwise the deprecation of addParamValue makes no sense.

The problem is that I can't see what the difference is from their help text.
And if it is true that they behave different in some way, then the patch is
incorrect and addParameter needs to be implemented different than
addParamValue.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45367>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]