From 4e0337fdae57f76c8db44d39c0ac72719b8b1384 Mon Sep 17 00:00:00 2001 From: "Marcel M. Otte" Date: Thu, 12 Dec 2013 20:38:46 +0100 Subject: [PATCH] updated readme and added copyright to java class --- CmdOptions.java | 8 ++++++++ README.md | 2 ++ 2 files changed, 10 insertions(+) diff --git a/CmdOptions.java b/CmdOptions.java index 36243f8..7dfa303 100644 --- a/CmdOptions.java +++ b/CmdOptions.java @@ -4,6 +4,14 @@ import java.util.Arrays; import java.util.Comparator; 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 { private static CmdOptions instance; diff --git a/README.md b/README.md index 56d2909..57b19d7 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ jcmdlineoptions 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 has got automatic help handling of all configured options with "-h", "--help" and "-?".