Skip to content

Conversation

@tleonhardt
Copy link
Member

Bug fixes:

  • case_insensitive is no longer a runtime-settable parameter, but it was still listed as such
  • Fixed a recursive loop bug when abbreviated commands are enabled and it could get stuck in the editor forever
    • Added additional command abbreviations to the "exclude from history" list
  • Fixed argparse_example.py and pirate.py examples

Other changes:

  • Organized all attributes used to configure the ParserManager into a single location
  • Set the default value of "abbrev" to False (which controls whether or not abbreviated commands are allowed)
    • With good tab-completion of command names, using abbreviated commands isn't a particularly useful feature
    • And it can create problems

Bug fixes:
- case_insensitive is no longer a runtime-settable parameter, but it was still listed as such
- Fixed a recursive loop bug when abbreviated commands are enabled and it could get stuck in the editor forever
    - Added additional command abbreviations to the "exclude from history" list
- Fixed argparse_example.py and pirate.py examples

Other changes:
- Organized all attributes used to configure the ParserManager into a single location
- Set the default value of "abbrev" to False (which controls whether or not abbreviated commands are allowed)
    - With good tab-completion of command names, using abbreviated commands isn't a particularly useful feature
    - And it can create problems
Updated to reflect that the default value of abbrev is now False.
@codecov
Copy link

codecov bot commented Jul 4, 2017

Codecov Report

Merging #169 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   96.21%   96.21%           
=======================================
  Files           1        1           
  Lines        1136     1136           
=======================================
  Hits         1093     1093           
  Misses         43       43
Impacted Files Coverage Δ
cmd2.py 96.21% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d092e61...2c3bd0a. Read the comment docs.

@tleonhardt tleonhardt added this to the 0.7.5 milestone Jul 4, 2017
@tleonhardt tleonhardt merged commit 6588289 into master Jul 4, 2017
@tleonhardt tleonhardt deleted the refactor_parser_config branch July 4, 2017 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants