ArgumentParser 1.1.4
Changes
-
The
generate-manualplugin now defaults to creating single page manuals. The--single-pageflag has been replaced with--multi-pageto restore the previous default functionality. (#472)Migration: Update scripts that invoked
generate-manualwithout--single-pageto include--multi-pageand update scripts that invokedgenerate-manualwith--single-pageto omit the flag. -
The "experimental" prefix from the
generate-manualplugin has been removed. (#475)Migration: Update scripts to invoke the
generate-manualplugin viaswift package generate-manualinstead ofswift package plugin experimental-generate-manual.
Fixes
- The
generate-manualplugin is correctly declared as a product, making the plugin visible to clients. (#456) - The
generate-manualplugin's--authorsarguments are now correctly passed to the underlying generation tool. (#471) - Manuals generated by the
generate-manualplugin now include the option's value names and do not include value names for flags. (#473) - Built-in flags such as
--helpand--versionare now correctly marked as optional fixing some generated content which indicated the flags are always required. (#474) - Value descriptions are now correctly derived for types which are
ExpressibleByArgumentandRawRepresentablebyString. Help menus will now display valid default values for such types. (#476)
The 1.1.4 release includes contributions from @ian-twilightcoder, @MarcoEidinger, and @rauhul. Thank you!