updated readme and added copyright to java class

This commit is contained in:
Marcel M. Otte 2013-12-12 20:38:46 +01:00
parent 659098da62
commit 4e0337fdae
2 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,14 @@ import java.util.Arrays;
import java.util.Comparator; import java.util.Comparator;
import java.util.HashMap; import java.util.HashMap;
/**
* Written by Marcel M. Otte, (c) 2013
* For use under the BSD 2-clause License, or in other words:
* Do what you want with it as long as you leave all copyright notices where they are
* and don't bother me when you break your pc. :)
*/
public class CmdOptions { public class CmdOptions {
private static CmdOptions instance; private static CmdOptions instance;

View File

@ -3,6 +3,8 @@ jcmdlineoptions
A simple java class handling commandline options. A simple java class handling commandline options.
Currently available just as a Java class, later i will add some examples and an eclipse project surrounding.
It supports single dashed options like "-h", double dashed options "--help" and additional option alternatives. It supports single dashed options like "-h", double dashed options "--help" and additional option alternatives.
It has got automatic help handling of all configured options with "-h", "--help" and "-?". It has got automatic help handling of all configured options with "-h", "--help" and "-?".