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
Juan Jose Comellas
ca6313c1bf
Clean up documentation and fix typos
2012-01-29 12:22:03 -03:00
Juan Jose Comellas
e1f239785b
Make multiple repetitions with implicit arguments more 'intuitive'
2012-01-29 12:13:36 -03:00
Juan Jose Comellas
29b5665479
Add support for duplicated integer options and for negative integer/float arguments
2012-01-24 15:38:59 -03:00
Juan Jose Comellas
9ed277d788
Fix bug in case expression with invalid result
2012-01-17 10:42:31 -03:00
Juan Jose Comellas
51fc89bdda
Fix function spec to avoid dialyzer warnings
2012-01-17 09:41:41 -03:00
Juan Jose Comellas
9283bc0697
Add support for repetitions of options with integer arguments
...
This commit adds support for a type of command-line options that are
commonly used by many GNU tools. Now with this modification if you
have an option named 'verbose' with an integer argument and you enter
"-vvv" as in the command line you'll get {verbose, 3} as a result.
2012-01-17 00:33:40 -03:00
Juan Jose Comellas
2379dc96b2
Rename 'shell' make target to 'console'
2012-01-17 00:33:07 -03:00
Juan Jose Comellas
e745402fd3
Moved .app file to .app.src
2012-01-17 00:31:24 -03:00
Juan Jose Comellas
030ac46253
Merge pull request #12 from djui/patch-1
...
Allow usage message to be printed to stderr (default) as well as stdout
2012-01-16 11:50:02 -08:00
Uwe Dauernheim
ca5eb9ad09
Allow usage message to be printed to stderr (default) as well as stdout
2012-01-06 00:19:16 +01:00
Juan Jose Comellas
2981dfe63e
Remove unneeded rebar configuration option
2011-04-18 10:48:52 -03:00
Fernando Benavides
cc1654d316
New rebar => fail_on_warining removed from erl_opts because it's deprecated. Also, several other useful options added to rebar.config
2011-04-17 09:22:47 -03:00
Juan Jose Comellas
ffdeaaa2c1
Merge branch 'master' of https://github.com/ericbmerritt/getopt into ericbmerritt-master
2011-02-02 10:43:38 -03:00
Eric Merritt
df9647304f
version bump to 0.3.1
2011-01-16 15:28:13 -06:00
Juan Jose Comellas
1e75708497
Merge branch 'master' of https://github.com/ericbmerritt/getopt into ericbmerritt-master
...
Conflicts:
src/getopt.erl
2011-01-15 12:01:04 -03:00
Eric Merritt
0fda71a930
export declared types from getopt.erl
...
This patch exports the externally useful declared types so clients
may make use of them in thier codebase.
2011-01-12 18:13:25 -06:00
Tuncer Ayaz
f82e2989b1
Apply Tidier suggestions
2011-01-09 14:33:46 +01:00
Kostis Sagonas
1dd5a75277
Dialyzer related cleanups
2010-10-12 05:11:36 +08:00
Kostis Sagonas
91143ed4b3
Simplify macro
...
As a bonus it's also optimized.
2010-10-02 00:16:23 +08:00
Kostis Sagonas
76cebab9a9
Avoid unnecessary construction of deep strings
...
Especially when the -spec specifies that a string() is returned.
2010-10-02 00:16:23 +08:00
Juan Jose Comellas
8f54692a29
Remove output of command line when executing dialyzer.
2010-09-23 15:14:41 -03:00
Juan Jose Comellas
4de6670d02
Release v0.3.0
2010-09-23 15:13:22 -03:00
Juan Jose Comellas
5cde8b5e4b
Remove dialyzer warnings. Clean up comments.
2010-09-23 15:09:55 -03:00
Juan Jose Comellas
f539fbbc8a
Add support for rebar.
2010-09-23 15:08:58 -03:00