Browse Source

* Fix bug ID #30672, patch by Silvio Clecio

git-svn-id: trunk@34884 -
michael 8 years ago
parent
commit
8b2d858ba5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rtl/inc/getopts.pp

+ 1 - 0
rtl/inc/getopts.pp

@@ -351,6 +351,7 @@ begin
           nextchar:=0;
           inc(optind);
           Internal_getopt:='?';
+          exit;
         end;
        if pfound<>nil then
         begin