X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fgetopt%2Fgetopt001.phpt;h=2209d09c86d98d441c16ac29054fee3c92809d93;hp=462b4709bafe4696dc1974737e3792cf1ec27386;hb=5e240548ba570610ce0dbc248a2b7654a0e080fa;hpb=a107dfcca2dfd0fc5a2779a8d679f778cb8f3290 diff --git a/tests/getopt/getopt001.phpt b/tests/getopt/getopt001.phpt index 462b470..2209d09 100644 --- a/tests/getopt/getopt001.phpt +++ b/tests/getopt/getopt001.phpt @@ -19,6 +19,8 @@ $args = [ $opts = "v::x:s:"; +psi\opterr(0); + while (($opt = chr(psi\getopt($args, $opts)))) { switch ($opt) { case "v":