Browse Source

* Merging revisions 42496 from trunk:
------------------------------------------------------------------------
r42496 | svenbarth | 2019-07-26 07:16:35 +0200 (Fri, 26 Jul 2019) | 1 line

* also check mimetypes/m option
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43249 -

michael 5 years ago
parent
commit
dcd9071815
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-web/examples/simpleserver/simpleserver.pas

+ 1 - 1
packages/fcl-web/examples/simpleserver/simpleserver.pas

@@ -85,7 +85,7 @@ Var
   S,IndexPage,D : String;
   S,IndexPage,D : String;
 
 
 begin
 begin
-  S:=Checkoptions('hqd:ni:p:sH:',['help','quiet','noindexpage','directory:','port:','indexpage:','ssl','hostname:']);
+  S:=Checkoptions('hqd:ni:p:sH:m:',['help','quiet','noindexpage','directory:','port:','indexpage:','ssl','hostname:','mimetypes:']);
   if (S<>'') or HasOption('h','help') then
   if (S<>'') or HasOption('h','help') then
     usage(S);
     usage(S);
   Quiet:=HasOption('q','quiet');
   Quiet:=HasOption('q','quiet');