- allows waiting for user input on error (d0da3bdd, closes #140)
- Help allows one to fully override the auto-generated help message (26d5ae3e, closes #141)
- adds "whats new" section to readme (ff149a29)
- removes deprecated functions in prep for 1.0 (274484df)
- updates docs to new version flag defaults (ebf442eb)
- Help and Version default short for version is now
-V
but can be overridden (only breaks manual documentation) (BREAKING CHANGE eb1d9320)
- adds contributing guidelines (6f76bd0a)
- can now specify that an app or subcommand should display help on no args or subcommands (29ca7b2f, closes #133)
- SubCommand/App several methods and functions for stable release (28b73855)
- updates for deprecations and new features (743eefe8)
- help fixes a bug where requirements are included as program name in help and version (08ba3f25)
- usage usage strings now include parent command requirements (dd8f21c7, closes #125)
- args allows consumer of clap to decide if empty values are allowed or not (ab4ec609, closes #122)
- subcommands
- macros
- usage removes unneeded allocations (fd53cd18)
- color reduces color in error messages (aab44cca, closes #110)
- suggestions adds suggested arguments to usage strings (99447414)
- did-you-mean for review (0535cfb0)
- Positional positionals were ignored if they matched a subcmd, even after '--' (90e7b081)
- help fixes bug where space between arg and help is too long (632fb115)
- from_usage adds ability to add value names or num of vals in usage string (3d581976, closes #98)
- did-you-mean
- Flags adds sugestions functionality (8745071c)
- errors colorizes output red on error (f8b26b13)
- arg_enum allows ascii case insensitivity for enum variants (b249f965, closes #104)
- clap-test simplified
make test
invocation (d17dcb29)
- README adds details about optional and new features (960389de)
- clap fix typos caught by codespell (8891d929)
- from_usage explains new usage strings with multiple values (05476fc6)
- Options adds number of values to options in help/usage (c1c993c4)
- MultipleValues properly distinguishes between multiple values and multiple occurrences (dd2a7564, closes #99)
- help fixes tab alignment with multiple values (847001ff)
- from_usage explains new usage strings with multiple values (5a3a42df)
- Options fixes bug where options with no value don't error out (a1fb94be)
- Options fixes a bug where option arguments in succession get their values skipped (f66334d0)
- RequiredValues fixes a bug where missing values are parsed as missing arguments (93c4a723)
- ErrorMessages improves error messages and corrections (a29c3983)
- ArgGroups improves requirement and confliction support for groups (c236dc5f)
- RequiredArgs fixes bug where required-by-default arguments are not listed in usage (12aea961, closes #96)
- MultipleValues stops evaluating values if the max or exact number of values was reached (86d92c9f)
- MultipleValues
- arg allow other types besides Vec for multiple value settings (BREAKING CHANGE 0cc2f698, closes #87)
- usage implement smart usage strings on errors (d77048ef, closes #88)
- help change long help --long=long -> --long (1e25abfc)
- RequiredArgs required by default args should no longer be required when their exclusions are present (4bb4c3cc)
- ArgGroups add ability to create arg groups (09eb4d98)
- from_usage fix bug causing args to not be required (b76129e9)
- apps add ability to display additional help info after auto-gen'ed help msg (65cc259e)
- from_usage tabs and spaces should be treated equally (4fd44181)
- macros.rs add macro to get version from Cargo.toml (c630969a)
- macros.rs fix use statements for trait impls (86e4075e)
- macros add ability to create enums pub or priv with derives (2c499f80)
- macros add macro to create custom enums to use as types (fb672aff)
- macros
- from_usage trim all whitespace before parsing (91d29045)
- tests fix failing doc tests (3710cd69)
- app add support for building args from usage strings (d5d48bcf)
- args add ability to create basic arguments from a usage string (ab409a8f)
- usage add ability to get usage string for subcommands too (3636afc4)
- SubCommands add method to get name and subcommand matches together (64e53928)
- ArgMatches add method to get default usage string (02462150)
- help sort arguments by name so as to not display a random order (f4b2bf57)
- flags fix bug not allowing users to specify -v or -h (90e72cff)
- help fix spacing when option argument has not long version (ca17fa49)
- positional args all previous positional args become required when a latter one is required (c14c3f31, closes #50)
- clap remove unstable features for Rust 1.0 (9abdb438)
- args improve error messages for arguments with mutual exclusions (18dbcf37, closes #51)
- option args fix bug in getting the wrong number of occurrences for options (82ad6ad7)
- help fix formatting for option arguments with no long (e8691004)
- flags add assertion to catch flags with specific value sets (a0a2a40f, closes #52)
- args improve error messages for arguments with mutual exclusions (bff945fc, closes #51)
- tests add missing .takes_value(true) to option2 (bdb0e88f)
- positional args all previous positional args become required when a latter one is required (343d47dc, closes #50)
- args fix bug in arguments who are required and mutually exclusive (6ceb88a5)
- help fix formatting of help and usage (28691b52)
- help fix formatting of help for flags and options (6ec10115)
- help add '...' to indicate multiple values supported (297ddba7)
- positionals
- apps allow use of hyphens in application and subcommand names (da549dcb)
- args determine if the only arguments allowed are also required (0a09eb36)
- args add support for a specific set of allowed values on options or positional arguments (270eb889)
- usage display required args in usage, even if only required by others (1b7316d4)
- subcommands properly list subcommands in help and usage (4ee02344)
- tests remove cargo test from claptests makefile (1cf73817)
- option fix bug with option occurrence values (9af52e93)
- tests fix testing script bug and formatting (d8f03a55)
- arg allow lifetimes other than 'static in arguments (9e8c1fb9)