2 * Change flag logic: --no-X will always be false, and --X will always be true,
4 * For flags that default to true, display --no-X instead of --X in the help
5 menu. Accept both versions on the commandline.
6 * Fix a spurious warning
7 * Update Rakefile to 1.9
8 * Minor documentation fixes
10 == 1.16.2 / 2010-04-06
11 * Bugfix in Trollop::options. Thanks to Brian C. Thomas for pointing it out.
13 == 1.16.1 / 2010-04-05
14 * Bugfix in Trollop::die method introduced in last release.
17 * Add Trollop::with_standard_exception_handling method for easing the use of Parser directly.
18 * Handle scientific notation in float arguments, thanks to Will Fitzgerald.
19 * Drop hoe dependency.
22 * Don't raise an exception when out of short arguments (thanks to Rafael
23 Sevilla for pointing out how dumb this behavior was).
26 * Make :multi arguments default to [], not nil, when not set on the commandline.
27 * Minor commenting and error message improvements
30 * Fix parsing of "--longarg=<value with spaces>".
33 * Fix some unit test failures in the last release. Should be more careful.
34 * Make default short options only be assigned *after* all user-specified
35 short options. Now there's a little less juggling to do when you just
36 want to specify a few short options.
39 * Set <opt>_given keys in the results hash for options that were specified
42 == 1.10.2 / 2008-10-23
43 * No longer try `stty size` for screen size detection. Just use curses, and
44 screen users will have to deal with the screen clearing.
46 == 1.10.1 / 2008-10-22
47 * Options hash now responds to method calls as well as standard hash lookup.
48 * Default values for multi-occurrence parameters now autoboxed.
49 * The relationship between multi-value, multi-occurrence, and default values
50 improved and explained.
51 * Documentation improvements.
54 * Added :io type for parameters that point to IO streams (filenames, URIs, etc).
55 * For screen size detection, first try `stty size` before loading Curses.
56 * Improved documentation.
59 * Added 'stop_on_unknown' command to stop parsing on any unknown argument.
60 This is useful for handling sub-commands when you don't know the entire
61 set of commands up front. (E.g. if the initial arguments can change it.)
62 * Added a :multi option for parameters, signifying that they can be specified
64 * Added :ints, :strings, :doubles, and :floats option types, which can take
68 * Bugfix for #conflicts and #depends error messages
71 * Bugfix for short option autocreation
72 * More aggressive documentation
75 * Sub-command support via Parser#stop_on
78 * Ruby 1.9-ify. Apparently this means replacing :'s with ;'s.
81 * Documentation improvements
84 * Fix incorrect error message for multiple missing required arguments
85 (thanks to Neill Zero)
88 * Don't attempt curses screen-width magic unless running on a terminal.
91 * --help and --version do the right thing even if the rest of the
92 command line is incorrect.
93 * Added #conflicts and #depends to model dependencies and exclusivity
98 * Disable short options with :short => :none.
99 * Minor bugfixes and error message improvements.
102 * Wrap at (screen width - 1) instead of screen width.
103 * User can override --help and --version.
104 * Bugfix in handling of -v and -h.
105 * More tests to confirm the above.
108 * Minor documentation tweaks.
109 * Removed hoe dependency.
112 * Trollop::options now passes any arguments as block arguments. Since
113 instance variables are not properly captured by the block, this
114 makes it slightly less noisy to pass them in as local variables.
115 (A real-life use for _why's cloaker!)
116 * Help display now preserves original argument order.
117 * Trollop::die now also has a single string form in case death is not
118 due to a single argument.
119 * Parser#text now an alias for Parser#banner, and can be called
120 multiple times, with the output being placed in the right position
122 * Slightly more indicative formatting for parameterized arguments.