142 Commits

Author SHA1 Message Date
dbab6262a2 Update for zx (#1)
Reviewed-on: #1
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-23 14:25:04 +09:00
Juan Jose Comellas
838e67fa8d
Merge pull request #49 from suprematic/fix-tests-erlang-18
Fix tests for Erlang < 20
2021-02-15 19:53:19 -03:00
Simon Skorokhodov
8b328c666b Fix tests for Erlang < 20 2021-01-18 10:47:26 +01:00
Juan Jose Comellas
1c963cecd7
Bump version to 1.0.2 2020-08-29 11:22:23 -03:00
Juan Jose Comellas
fa37a75d8c
Merge pull request #46 from lukebakken/lrb-use-standard-license-text
Use the standard 3-clause BSD license text
2020-08-18 23:59:43 -03:00
Luke Bakken
105004ce3a
Use the standard 3-clause BSD license text
I copied the text from here:

https://opensource.org/licenses/BSD-3-Clause

This resolves an issue we are having with getting RabbitMQ dependency
licenses discovered by the "LicenseFinder" tool:

https://github.com/pivotal/LicenseFinder/issues/768
2020-08-18 09:08:10 -07:00
Juan Jose Comellas
13676822ad
Merge pull request #45 from szTheory/patch-1
README erlang syntax highlighting fix
2020-03-04 19:04:15 +01:00
szTheory
7003ec0e4b
README erlang syntax highlighting fix 2020-03-04 16:26:07 +00:00
Juan Jose Comellas
784b0ea877
Merge pull request #42 from suprematic/master
Format "missing option argument" error
2018-03-24 20:48:59 -03:00
Simon Skorokhodov
fe997f2f6f extend format_error/2 to handle missing_option_arg 2018-03-17 18:46:13 +01:00
Juan Jose Comellas
8e87599e1c
Merge pull request #41 from puzza007/travisci
Travis CI
2018-03-07 16:46:47 -03:00
Paul Oliver
41564e7b47
Travis CI 2018-03-08 07:55:58 +13:00
Juan Jose Comellas
dcaf340a8e
Merge pull request #40 from suprematic/master
Fix build for Erlang < 20
2018-03-07 08:49:10 -03:00
Simon Skorokhodov
c2bcd16bf5 Fix build for Erlang < 20 2018-03-07 11:38:04 +01:00
Juan Jose Comellas
fde61fe7aa
Merge pull request #39 from suprematic/master
Add support for UTF-8 encoded binaries
2018-03-06 21:40:48 -03:00
Simon Skorokhodov
5314f48cb9
Fix typo in README 2018-03-06 23:37:37 +01:00
Simon Skorokhodov
2a8c7df6c7 Add description of utf8_binary type to README 2018-03-06 21:57:02 +01:00
Simon Skorokhodov
b3e4a77172 Add tests for utf8_binary type 2018-03-06 21:56:53 +01:00
Simon Skorokhodov
c181cfc4e6 Add utf8_binary type 2018-03-06 21:56:17 +01:00
Juan Jose Comellas
fbd2105506 Fix hex package links 2017-11-01 18:50:59 -03:00
Juan Jose Comellas
04673fb7fd Bump version to 1.0.1 2017-11-01 18:06:15 -03:00
Juan Jose Comellas
d6eb06e2ba Fix markup 2017-11-01 18:05:56 -03:00
Juan Jose Comellas
cba166d183 Add hex package information 2017-11-01 18:05:10 -03:00
Juan Jose Comellas
e1ccc252e1 Bump version to 1.0.0 2017-11-01 15:57:19 -03:00
Juan Jose Comellas
3db7b44b70 Update copyright 2017-11-01 15:55:50 -03:00
Juan Jose Comellas
1566e7d69f Switch to rebar3 2017-11-01 15:55:20 -03:00
Juan Jose Comellas
fe027dc097
Merge pull request #37 from ferd/otp-21-unicode
Support OTP-21's unicode-only constraints
2017-11-01 12:30:05 -03:00
Fred Hebert
76fc2dcdc8 Support OTP-21's unicode-only constraints
Functions start being available in OTP-20, so to get rid of warnings, a
conditional compilation flag is set there.

The cspan function has no direct equivalent, but can be worked around.
Likely heavier work would be required around its usage where strings are
not handled as lists, but only through 'string' functions. However this
will still cover most cases and get rid of compile-time warnings for
now.
2017-11-01 10:21:28 -04:00
Juan Jose Comellas
68fe326f2c Merge pull request #33 from fp/add_desc
Add long description option to usage.
2016-06-22 15:21:33 -03:00
Paul Fisher
fada7cf978 Add long description option to usage.
Introduce a new usage/6 that allows a long description to be
specified, which allows for usage output that documents structured
command lines using not just short/long options.  For example,
commands like the following:

  $ command group <group_name> create
2016-05-17 19:31:45 +01:00
Juan Jose Comellas
3b2751dc19 Merge pull request #31 from soranoba/master
Fix format_error/2 when there is neither a short nor a long option spec
2016-03-15 08:40:32 -03:00
soranoba
f88f58a6b2 FIX format_error : supporting options without the hyphen 2016-03-15 01:05:14 +09:00
Juan Jose Comellas
626698975e Update rebar binary 2014-04-15 09:56:18 -07:00
Juan Jose Comellas
d511b1f370 Merge pull request #29 from roowe/patch-1
Fix console output to support non-latin characters
2014-04-14 10:05:35 -07:00
roowe
d306a9405a fix print chinese char 2013-12-26 17:23:15 +08:00
Juan Jose Comellas
78eda3bd12 Fix rebar's repository URL 2013-10-16 16:19:42 -03:00
Juan Jose Comellas
388dc95caa Update version to 0.8.2 2013-07-22 12:05:07 -03:00
Juan Jose Comellas
a3e95c3432 Add tests for the different arguments that format_error/2 can receive 2013-07-22 12:00:43 -03:00
Juan Jose Comellas
0450101135 Merge pull request #24 from saleyn/master
Fixed minor inconsistency
2013-07-19 05:58:31 -07:00
serge
7755e0020e Fixed minor inconsistency 2013-07-19 07:16:33 -04:00
Juan Jose Comellas
cb40b45bcc Update version to 0.8.1 2013-07-19 02:31:18 -03:00
Juan Jose Comellas
ae940eb1f5 Beautify unit test output 2013-07-19 02:25:43 -03:00
Juan Jose Comellas
0dc399dc11 Modify calls to format_error/2 to use the correct order for arguments 2013-07-19 02:24:52 -03:00
Juan Jose Comellas
275d9362b7 Run eunit tests manually to avoid conflicts with rebar's copy of getopt 2013-07-19 02:01:35 -03:00
Juan Jose Comellas
078d003a93 Rearrange format_error/2 arguments to match existing conventions 2013-07-19 02:00:36 -03:00
Juan Jose Comellas
2f0a25a13e Merge pull request #23 from saleyn/parse_and_check
Added test cases for new functions
2013-07-18 21:27:54 -07:00
Juan Jose Comellas
63fd9ed7bc Fix dialyzer warning 2013-07-18 22:06:24 -03:00
Juan Jose Comellas
3a15ecc1ac Rearrange the arguments passed to check/2 to match existing conventions 2013-07-18 21:44:52 -03:00
serge
0ff0a00b78 Added test cases for new functions 2013-07-18 20:03:50 -04:00
Juan Jose Comellas
3699279ee9 Merge pull request #22 from saleyn/parse_and_check
Added check/2 and parse_and_check/2 functions to verify all required options
2013-07-18 16:58:14 -07:00