CmdLine
version 0.6.6

Yann Mérignac (yann.merignac@laposte.net)
28/07/2015


CmdLine is a Free Pascal unit for parsing easily GNU style command line options.

  • no need to write a loop for command line parsing

  • options result are automaticaly assigned to vars

  • automatic help formating

  • ability to read options from a text file

  • optional wildcard expansion on Windows

License

GNU

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules,and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>.

Documentation

Documentation for the latest version is available here.

Changes

v0.6.6 (28/07/2015)

 - Changed: documentation format to Txt2FPDoc
 - Removed: EInvalidOption exception (only ECmdLineError is used now)
 - Added: new option flags ofOnlyOnce and ofRequired

v0.6.4 (30/07/2014)

 - License changed to LGPL v2.1+ with Linking exception

v0.6.2 (22/05/2014)

 - Wildcards that expand to empty file list are now correctly handled

v0.6.0 (11/03/2014)

 - Add optional wildcard expansion on Windows

v0.4.6 (03/03/2014)

 - License changed to GPL v2+ with Linking exception

V0.4.2 (25/02/2014)

 - First release

Downloads