Update for zx (#1)
Reviewed-on: #1 Co-authored-by: Craig Everett <zxq9@zxq9.com> Co-committed-by: Craig Everett <zxq9@zxq9.com>
This commit is contained in:
parent
838e67fa8d
commit
dbab6262a2
19
.gitignore
vendored
19
.gitignore
vendored
@ -1 +1,18 @@
|
||||
/_build
|
||||
.rebar3
|
||||
_*
|
||||
.eunit
|
||||
*.o
|
||||
*.beam
|
||||
*.plt
|
||||
*.swp
|
||||
*.swo
|
||||
.erlang.cookie
|
||||
ebin
|
||||
log
|
||||
erl_crash.dump
|
||||
.rebar
|
||||
logs
|
||||
_build
|
||||
.idea
|
||||
*.iml
|
||||
rebar3.crashdump
|
||||
|
26
LICENSE
Normal file
26
LICENSE
Normal file
@ -0,0 +1,26 @@
|
||||
Copyright 2009 Juan Jose Comellas
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software without
|
||||
specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@ -27,7 +27,7 @@ To use getopt in your project you can just add it as a dependency in your
|
||||
```erlang
|
||||
{deps,
|
||||
[
|
||||
{getopt, "1.0.2"}
|
||||
{getopt, "1.0.3"}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
@ -1,6 +1,6 @@
|
||||
{application,getopt,
|
||||
[{description,"Command-line options parser for Erlang"},
|
||||
{vsn,"1.0.2"},
|
||||
{vsn,"1.0.3"},
|
||||
{modules,[]},
|
||||
{registered,[]},
|
||||
{maintainers,["Juan Jose Comellas"]},
|
||||
|
@ -9,6 +9,7 @@
|
||||
%%% retrieved from: http://www.opensource.org/licenses/bsd-license.php
|
||||
%%%-------------------------------------------------------------------
|
||||
-module(getopt).
|
||||
-vsn("1.0.3").
|
||||
-author('juanjo@comellas.org').
|
||||
|
||||
-export([parse/2, check/2, parse_and_check/2, format_error/2,
|
||||
|
17
zomp.meta
Normal file
17
zomp.meta
Normal file
@ -0,0 +1,17 @@
|
||||
{name,"Erlang GetOpt"}.
|
||||
{type,lib}.
|
||||
{modules,[]}.
|
||||
{prefix,none}.
|
||||
{author,"Juan Jose Comellas"}.
|
||||
{desc,"A getopt utility for Erlang"}.
|
||||
{package_id,{"otpr","getopt",{1,0,3}}}.
|
||||
{deps,[]}.
|
||||
{key_name,none}.
|
||||
{a_email,[]}.
|
||||
{c_email,[]}.
|
||||
{copyright,"Juan Jose Comellas"}.
|
||||
{file_exts,[]}.
|
||||
{license,"BSD-3-Clause-Attribution"}.
|
||||
{repo_url,"https://git.qpq.swiss/QPQ-AG/getopt"}.
|
||||
{tags,["args","parsing","getopt","cli"]}.
|
||||
{ws_url,[]}.
|
Loading…
x
Reference in New Issue
Block a user