Skip to content

Add experimental source-location dump argument - #931

Open
bkhouri wants to merge 1 commit into
t/main/gh846_native_response_file_supportfrom
t/gh846/add_source_location
Open

Add experimental source-location dump argument#931
bkhouri wants to merge 1 commit into
t/main/gh846_native_response_file_supportfrom
t/gh846/add_source_location

Conversation

@bkhouri

@bkhouri bkhouri commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Add the experimental --experimental-dump-arguments-source-location option. When present, the parser fully parses the command line and then prints every parsed argument together with its value and source location (file:line for response-file args, argv[N] for command-line args), organized as a subcommand tree. Accepts =text (default) or =json.

Fixes #846
Relates to #41

Depends on #909

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

@bkhouri
bkhouri marked this pull request as draft July 17, 2026 19:41
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from 9ffef7c to e62c85f Compare July 21, 2026 17:28
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from e5e9ffe to 63749ac Compare July 21, 2026 17:28
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from e62c85f to 879aaea Compare July 21, 2026 22:16
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from 63749ac to 6237fe8 Compare July 21, 2026 22:18
@bkhouri bkhouri mentioned this pull request Jul 21, 2026
4 tasks
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from 879aaea to 944b243 Compare July 21, 2026 23:39
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from 6237fe8 to 7f09192 Compare July 21, 2026 23:40
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from 944b243 to f297509 Compare July 21, 2026 23:43
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from 7f09192 to fb1c303 Compare July 21, 2026 23:43
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from f297509 to 8879fe4 Compare July 21, 2026 23:56
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from fb1c303 to d2f2312 Compare July 21, 2026 23:56
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from 8879fe4 to 92d7666 Compare July 22, 2026 02:49
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from d2f2312 to 229fc53 Compare July 22, 2026 02:50
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from 92d7666 to 5dff61a Compare July 22, 2026 18:25
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from 229fc53 to 2cdbecf Compare July 22, 2026 18:26
@bkhouri
bkhouri force-pushed the t/main/gh846_native_response_file_support branch from 5dff61a to 2065f86 Compare July 22, 2026 18:29
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from 2cdbecf to f680b87 Compare July 22, 2026 18:29
@bkhouri
bkhouri marked this pull request as ready for review July 24, 2026 21:18
Add the experimental `--experimental-dump-arguments-source-location`
option. When present, the parser fully parses the command line and then
prints every parsed argument together with its value and source
location (file:line for response-file args, `argv[N]` for command-line
args), organized as a subcommand tree. Accepts `=text` (default) or
`=json`.

Fixes #846
Relates to #41
@bkhouri
bkhouri force-pushed the t/gh846/add_source_location branch from f680b87 to bb62275 Compare July 24, 2026 21:47
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