Usage operands: narrow the [options] command guard to a closed vocabulary - #159
Open
sadigaxund wants to merge 2 commits into
Open
sadigaxund wants to merge 2 commits into
sadigaxund wants to merge 2 commits into
Conversation
…bulary A bare operand behind [options] now reaches the tree unless the word is a command-table placeholder (command/subcommand/cmd/action/verb) or carries a repetition marker. Recovers lcf, ntfscp, ffplay, split-file-18, the ntfs/btrfs/xfs families and more; apt's six tools and gcc stay refused. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Raw grep over audit/queue-captures finds 1 tool, below the five-tool floor. Adds a measurement-only detector and notes the gap on nfsidmap's two passing fixtures without demoting them to xfail. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Narrows the round-6
[options] commandambiguity guard so a bare operand behind[options]is refused only when its earliest word is a closed-vocabulary command placeholder or carries a repetition marker, and records nfsidmap's||usage alternation as S-175 without fixing it. The guard was refusing 60 tools' real operands to protect the six apt tools whose operand genuinely is the wordcommand.Sweep numbers, full
PATH, 2324 tools, againstcf5912f:#fp2records:git,gcc,aarch64-linux-gnu-g++-13,ar,pnpm,systemctl,tar,find,docker.apt,apt-cache,apt-cdrom,apt-config,apt-ftparchiveandapt-getappear nowhere in the diff, so none of the six gained a fabricatedcommandpositional.gcckeeps its ownfile...tail refused through the repetition-marker half of the test.--help:jarsignergainsjar-fileandalias,xkbcompgainsinput-fileandoutput-file,ntfscpgainsdevice,src_fileanddest_file,mariadb-dumpgainsdatabaseandtables,llvm-objcopy-18gainsinputandoutput,mkswapgainsdeviceandsize,pivot_rootgainsnew_rootandput_old,lcfgainsdest_fileandsrc_dir.nfsidmap's||alternation reads 1 tool on a raw-shape grep over the frozen capture set, so nothing ships for it. S-152 was re-measured and declined: the proxy count namesmakedeltarpmandntfscpas false positives on the exact three-plain-word test a fix would use.The whole effect of this branch is invisible to the flag and subcommand columns, which both read zero. It is measurable only through the positional column that ships in the harness branch.