README.md in everyday-cli-utils-1.4.0 vs README.md in everyday-cli-utils-1.5.0

- old
+ new

@@ -336,9 +336,13 @@ As of version 0.7.0, there is now built-in handling for setting and retrieving default options. Use `EverydayCliUtils::OptionUtil.defaults_option`, which takes the file name (relative or absolute, it passes through `File.expand_path` before being used) as the first parameter and the list of option flag names as the second parameter. It will automatically load the file if it exists, and if the user specifies one of the flags you pass to this method, after parsing the options, it will automatically store them in the place you specified. Unless you specify the hash option `exit_on_save: false`, it will exit after it saves the options. As of version 1.0.0, there is now support for the help display in `OptionParser`. You can now provide a `desc:` hash option to the option creating methods (even pre-made ones like `defaults_option` and `help_option`). You can set the banner with the `EverydayCliUtils::OptionUtil.banner` method, which takes the banner string as its parameter. You can get the help string with `EverydayCliUtils::OptionUtil.help` or `EverydayCliUtils::OptionUtil.to_s`, or you can handle it with `EverydayCliUtils::OptionUtil.help_option`, which takes an array of the names and an optional `desc:` hash option. When the user specifies one of those options, the utility will automatically print out the help and exit (unless you specify the hash option `exit_on_print: false`). +As of version 1.4.0, there is support for overriding the built-in help display. You can now use the `help_str=` method to set the help string override. See my `mvr` gem for an example. + +As of version 1.5.0, there is support for having global defaults. It is basically the same as the regular defaults option, but it uses the method `global_default_options` instead of just `default_options`. If the global defaults file exists, it will be loaded first, with the local defaults being loaded on top of it as if they were passed as flags, and then the flags are loaded on top of that in the same manner. + ## Contributing 1. Fork it ( http://github.com/henderea/everyday-cli-utils/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`)