<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
    <br>
    I wrote one, too: <a class="moz-txt-link-freetext"
      href="http://benibela.de/sources_en.html#rcmdline">http://benibela.de/sources_en.html#rcmdline</a><br>
    <br>
    Supports --linux=style and /windows style, and ' and " quotes<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 14.01.2019 10:49, Yann Mérignac
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACxT3S7fGOv6eZACx8hHYJBZvi--t=ZC4JeTvkAkoBq=gWZi+Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <pre class="gmail-tw-data-text gmail-tw-ta gmail-tw-text-medium" id="gmail-tw-target-text" style="text-align:left;height:36px" dir="ltr"><span lang="en">You can also try this: <a href="http://yann.merignac.free.fr/unit-cmdline.html" moz-do-not-send="true">http://yann.merignac.free.fr/unit-cmdline.html</a>

It's a command line parser I wrote when I needed it a few years ago.

<span lang="en">I was inspired by these 2 articles:
  - <a href="https://www.adacore.com/gems/gem-138-gnatcoll.command-line" moz-do-not-send="true">https://www.adacore.com/gems/gem-138-gnatcoll.command-line</a>
  - <a href="https://www.adacore.com/gems/gem-139-master-the-command-line-part-2" moz-do-not-send="true">https://www.adacore.com/gems/gem-139-master-the-command-line-part-2</a>

</span> 
</span></pre>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">Le lun. 14 janv. 2019 à 09:41, Michael Van
          Canneyt <<a href="mailto:michael@freepascal.org"
            moz-do-not-send="true">michael@freepascal.org</a>> a
          écrit :<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
          <br>
          On Mon, 14 Jan 2019, Martok wrote:<br>
          <br>
          > I was 100% expecting that sort of answer.<br>
          <br>
          My invitation to suggest improvements, you mean ?<br>
          <br>
          I meant it: you're welcome to suggest improvements.<br>
          <br>
          If you implement something like argpars and it can be used as
          backend for<br>
          TCustomApplication, I'm willing to rework TCustomApplication
          to use it. <br>
          This way we keep backwards compatibility and offer the
          possibility to extend<br>
          it.<br>
          <br>
          I'm not blind to the shortcomings of TCustomApplication
          argument parsing.<br>
          It fully handles the unix '-a' '--aaa' scheme of doing things,
          but currently<br>
          does not handle options in command form<br>
          prog --globalopts command [--commandopts] args<br>
          <br>
          So, if you can offer something to keep current functionality
          and allow this<br>
          as well: be my guest...<br>
          <br>
          But e.g. the geptops way, which basically forces you to use a
          while loop is<br>
          really not acceptable, which is why the TCustomApplication
          interface is what<br>
          it is today.<br>
          <br>
          Michael.<br>
          _______________________________________________<br>
          fpc-pascal maillist  -  <a
            href="mailto:fpc-pascal@lists.freepascal.org"
            target="_blank" moz-do-not-send="true">fpc-pascal@lists.freepascal.org</a><br>
          <a
            href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
    </blockquote>
    <br>
  </body>
</html>