11 Commits

Author SHA1 Message Date
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
f539fbbc8a Add support for rebar. 2010-09-23 15:08:58 -03:00
Juan Jose Comellas
b2e8bcd291 Modify module to make it GNU getopt compliant.
Add support for short options with embedded arguments (e.g. -j2).
Add support for implicit boolean options (e.g. -q -> {quiet, true}).
Add support for option terminator ("--").
2010-01-06 16:39:48 -03:00
Juan Jose Comellas
d26cb9df09 Add support for arguments assigned to options with an equal ('=')
character within the option string. e.g. "--port=1000".
2009-12-30 17:20:35 -03:00
Juan Jose Comellas
3e83a0e928 Small formatting change to README. 2009-11-16 19:27:19 -03:00
Juan Jose Comellas
4b03285d9e Dropped record syntax for the option specifications to simplify use from escripts. 2009-11-16 19:20:32 -03:00
Juan Jose Comellas
46959813a9 Cleaned up README. 2009-10-13 19:14:40 -03:00
Juan Jose Comellas
e9cf4aff22 Renamed some make targets. 2009-10-13 18:38:48 -03:00
Juan Jose Comellas
08392f62fe The command line arguments can now be passed as string. 2009-10-13 18:34:51 -03:00
Juan Jose Comellas
5a1d192b4a Updated documentation. 2009-10-13 17:56:42 -03:00
Juan Jose Comellas
6cf2a8c0dd Added README. 2009-10-13 17:42:55 -03:00