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
serge
5c03bb75f3
Added functions check/2, parse_and_check/2, and format_error/2
2013-07-18 19:14:26 -04:00
Juan Jose Comellas
4de4ede4c7
Merge pull request #21 from mcandre/master
...
README: Clarify installation steps
2013-05-28 19:21:35 -07:00
Andrew Pennebaker
8053c453b9
README: Clarified installation steps
...
After compiling, user is instructed to copy module into Erlang lib directory.
2013-05-28 18:49:12 -04:00
Juan Jose Comellas
412ed1536b
Update version to 0.7.1
2013-03-28 16:18:31 -03:00
Juan Jose Comellas
86058fbdca
Use io_lib:format/2 instead of float_to_list/1 to display floats
...
Erlang's list_to_float/1 function will use scientific notation and add
additional less significant digits to the resulting string due to the
internal floating point representation. io_lib:format/2 rounds the
values to better match what the user normally expects. e.g.
> float_to_list(0.66).
"6.60000000000000031086e-01"
> io_lib:format("~w", [0.66]).
["0.66"]
2013-03-28 16:12:05 -03:00
Juan Jose Comellas
8fd9eae57d
Add argument with default float value to example
2013-03-28 16:11:01 -03:00
Juan Jose Comellas
346c766b8c
Update version to 0.7.0
2013-01-25 15:33:23 -03:00
Juan Jose Comellas
94fb57a247
Fix line wrapping of usage output when the command line suffix is long
2013-01-25 15:30:56 -03:00
Juan Jose Comellas
860de106b7
Modify example to add a very long suffix to the command line
2013-01-25 15:29:54 -03:00
Juan Jose Comellas
8151b3f37d
The maximum width for the usage output is now 75 characters
2013-01-25 13:56:55 -03:00
Juan Jose Comellas
b9f1e63971
Update version to 0.6.0
2012-11-19 12:39:24 -03:00
Juan Jose Comellas
eb4a5c81fb
Add example with very long help text to show wrapped usage output
2012-11-19 12:27:29 -03:00
Juan Jose Comellas
98f3c6f123
Fix usage output when a long option has a length that is bigger than a console line
2012-11-19 12:25:06 -03:00
Juan Jose Comellas
46ea9c7908
Fix #6 and #7 : wrap lines in usage output and add default arguments
2012-11-18 16:06:18 -03:00
Juan Jose Comellas
d48901cb5f
Ignore all files in the ebin directory
2012-11-18 14:37:29 -03:00
Juan Jose Comellas
cd81aa4f11
Cleanup Makefile
2012-11-18 14:18:12 -03:00
Juan Jose Comellas
266caf429f
Update version to 0.5.2
2012-10-05 11:03:40 -03:00
Juan Jose Comellas
0c8bc94c35
Merge pull request #17 from tuncer/dialyzer
...
Fix Dialyzer warnings
2012-10-05 06:01:40 -07:00
Tuncer Ayaz
fe56a2618e
Fix Dialyzer warnings
2012-09-21 19:10:07 +02:00
Juan Jose Comellas
ecd03a8def
Fix typo
2012-07-20 11:04:41 -03:00
Juan Jose Comellas
8073fa72a4
Update version to 0.5.1
2012-07-20 11:02:29 -03:00
Juan Jose Comellas
f55ef18bab
Expose getopt:tokenize/1 and command-line literals
2012-07-20 11:00:25 -03:00
Juan Jose Comellas
08931e2394
Fix README format
2012-07-20 08:11:51 -03:00
Juan Jose Comellas
3f0ac07896
Update version to 0.5.0
2012-07-20 07:52:17 -03:00
Juan Jose Comellas
afc2c85406
Remove unused files
2012-07-20 07:50:42 -03:00
Juan Jose Comellas
1a01b82531
Fix #15 : add command-line tokenizer with support for quoted arguments
...
Replace string:tokens/2 with a custom command-line tokenizer that supports
single and double-quoted arguments (with embedded whitespace) and
expansion of environment variables using either the Unix ($VAR; ${VAR}) or
Windows (%VAR%) formats. This tokenizer is only used when the command line
is parsed as a single string.
2012-07-20 07:42:23 -03:00
Juan Jose Comellas
eb4a5beccd
Update version to 0.4.4
2012-05-15 17:04:18 -03:00
Juan Jose Comellas
768d93a40f
Add rebar binary as a fallback if rebar cannot be found in the system path
2012-05-15 17:01:42 -03:00
Juan Jose Comellas
659a28f414
Upgrade version to 0.4.3
2012-04-16 13:13:43 -03:00
Juan Jose Comellas
a5279f57da
Use rebar from the system path instead of a binary included in the project
2012-04-16 13:12:32 -03:00
Juan Jose Comellas
0db1767179
Use rebar from the system path to avoid collisions with old version of getopt
...
When running unit tests with 'rebar eunit', rebar will give precedence
to the modules already present in its binary file over the ones in the
project. As rebar uses getopt, the old version of the module was being
used and the unit tests were failing.
2012-04-16 12:56:46 -03:00
Tuncer Ayaz
7740b79fa5
Apply Tidier suggestion
2012-04-15 22:49:03 +02:00
Juan Jose Comellas
69b51ebf33
Avoid long lines in documentation
2012-02-02 23:46:29 -03:00
Juan Jose Comellas
3560ed6df7
Rename README file to follow github conventions
2012-02-02 23:42:04 -03:00
Juan Jose Comellas
5807849991
Add syntax highlighting for Erlang
2012-02-02 23:41:27 -03:00
Juan Jose Comellas
685c27fe5d
Remove dialyzer options
2012-01-31 16:41:32 -03:00
Juan Jose Comellas
c8fc803ea8
Use the names given in Erlang to the stdio file descriptors (stdout; stderr)
2012-01-31 16:28:19 -03:00
Juan Jose Comellas
dfca05584d
Update version number
2012-01-29 12:43:56 -03:00
Juan Jose Comellas
61e4792339
Clean up documentation
2012-01-29 12:41:56 -03:00