Clone
Gustaf Neumann <neumann@wu-wien.ac.at>
committed
on 30 Nov 23
nsf:parseargs: honor "required" settings
The previous version was accepting e.g.

nsf::parseargs -asdict {
{-state:wordchar,requir… Show more
nsf:parseargs: honor "required" settings

The previous version was accepting e.g.

   nsf::parseargs -asdict {

     {-state:wordchar,required}

     {-revision_id:integer,required}

     {-return_url:localurl "."}

   } {}

i.e. passing empty argument list where the first two arguments are required.

Now, the error is flagged properly

Show less