Skip to content

1.0.1

Choose a tag to compare

@Solganis Solganis released this 13 Jul 01:28
3eef8fc

Bug fixes

  • Closest usage line: caret the required group ((up|down)), not the element after it
  • Closest usage line: fire on a partial subcommand (git remote) and on a missing repetition (git add)
  • bash: glue back the words bash splits at COMP_WORDBREAKS, so completion survives --opt=value
  • zsh: complete on the first Tab when autoloaded from $fpath
  • zsh: drop the stray -- beside candidates that carry no description
  • PowerShell: honour $cursorPosition, unquote tokens, and treat a * in the typed word as a literal
  • Diagnostics: note: is context and help: proposes a fix. Four messages carried the wrong label

Performance

  • Load __version__ and the tooling on first use rather than at import: import docopt2 drops from ~38.7 ms to ~19.3 ms

Testing

  • CI drives bash, zsh and fish in a pseudo-terminal and presses a real Tab. The check fails on the unfixed scripts