14 Commits

Author SHA1 Message Date
Juan Jose Comellas
a59893e9b9 Add support for options with embedded arguments without the '--' prefix.
e.g. "verbose=1"
2009-12-30 18:38:42 -03:00
Juan Jose Comellas
0329f560c4 Add support for embedded arguments with equal characters in them.
e.g. "--var=debug=1" --> {var, "debug=1"}
2009-12-30 18:11:25 -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
4b03285d9e Dropped record syntax for the option specifications to simplify use from escripts. 2009-11-16 19:20:32 -03:00
Juan Jose Comellas
109d9f5f2a Cleaned up code. 2009-10-13 19:21:57 -03:00
Juan Jose Comellas
1da93693e2 Cleaned up code. 2009-10-13 19:18:46 -03:00
Juan Jose Comellas
cfae6a2abf Added BSD license. 2009-10-13 19:08:39 -03:00
Juan Jose Comellas
4c715eaa94 Added example file and make target. 2009-10-13 18:35:23 -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
8456f1018b Changed macro used for indentation. 2009-10-13 17:55:12 -03:00
Juan Jose Comellas
34e72bacb9 Added support for multiple short options in a single command-line
argument:
e.g. parse(SpecList, ["-abc"]). == parse(SpecList, ["-a", "-b", "-c"]).
2009-10-13 17:33:20 -03:00
Juan Jose Comellas
468002ff8e Added edoc comments. 2009-10-06 17:03:51 -03:00
Juan Jose Comellas
cc6bf5810a Added edoc comments. 2009-10-05 17:09:04 -03:00
Juan Jose Comellas
35395b82e8 Initial commit. 2009-10-02 19:43:13 -03:00