Skip to content

Fix --ast arg parsing for paths containing "codebook"#291

Merged
blopker merged 1 commit into
mainfrom
feature/justfile
Jul 5, 2026
Merged

Fix --ast arg parsing for paths containing "codebook"#291
blopker merged 1 commit into
mainfrom
feature/justfile

Conversation

@blopker

@blopker blopker commented Jul 5, 2026

Copy link
Copy Markdown
Owner

The file finder excluded any arg containing "codebook" as a proxy for skipping argv[0], which broke on real paths inside this repo. It also treated the --lang value as the file when flags came first. Walk args after argv[0] and skip flags and their values instead.

The file finder excluded any arg containing "codebook" as a proxy for
skipping argv[0], which broke on real paths inside this repo. It also
treated the --lang value as the file when flags came first. Walk args
after argv[0] and skip flags and their values instead.
@blopker blopker merged commit fac4245 into main Jul 5, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant