Skip to content

Conversation

@sim642
Copy link
Member

@sim642 sim642 commented Mar 7, 2025

This allows bash completing things like --set witness.yaml.entry-types[+] to offer a list of valid things to add or remove (with [-]) from the list.

Copy link
Member

@michael-schwarz michael-schwarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally don't have argument completion set up, so I didn't test it. However, it seems like an innocent local thing we should probably just merge.

@sim642 sim642 requested a review from karoliineh April 7, 2025 08:59
@arkocal arkocal self-assigned this May 9, 2025
@arkocal
Copy link
Contributor

arkocal commented May 9, 2025

Works fine on my system.

@sim642 sim642 added this to the v2.6.0 milestone May 11, 2025
@sim642 sim642 merged commit 0e6b597 into master May 11, 2025
23 of 27 checks passed
@sim642 sim642 deleted the arg-complete-array branch May 11, 2025 06:23
sim642 added a commit that referenced this pull request May 22, 2025
Broken by PR #1705.
Completing "--enable" crashes with "files[+]" not found.
sim642 added a commit to sim642/opam-repository that referenced this pull request Sep 5, 2025
CHANGES:

* Add division by zero analysis (goblint/analyzer#1764).
* Add bitfield domain (goblint/analyzer#1623).
* Add weakly-relational C-2PO pointer analysis (goblint/analyzer#1485).
* Add widening delay (goblint/analyzer#1358, goblint/analyzer#1442, goblint/analyzer#1483).
* Add narrowing of globals to top-down solver (goblint/analyzer#1636).
* Add weak dependencies to top-down solver (goblint/analyzer#1746, goblint/analyzer#1747).
* Add YAML ghost witness generation (goblint/analyzer#1394).
* Remove GraphML witness generation (goblint/analyzer#1732, goblint/analyzer#1733, goblint/analyzer#1738).
* Use C standard option for preprocessing (goblint/analyzer#1807).
* Add bash completion for array options (goblint/analyzer#1670, goblint/analyzer#1705, goblint/analyzer#1750).
* Make `malloc(0)` semantics configurable (goblint/analyzer#1418, goblint/analyzer#1777).
* Update path-sensitive analyses (goblint/analyzer#1785, goblint/analyzer#1791, goblint/analyzer#1792).
* Fix evaluation of library function arguments (goblint/analyzer#1758, goblint/analyzer#1761).
* Optimize affine equalities analysis using sparse matrices (goblint/analyzer#1459, goblint/analyzer#1625).
* Prepare for parallelism (goblint/analyzer#1708, goblint/analyzer#1744, goblint/analyzer#1748, goblint/analyzer#1781, goblint/analyzer#1790).
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.

4 participants