Add experimental source-location dump argument - #931
Open
bkhouri wants to merge 1 commit into
Open
Conversation
bkhouri
marked this pull request as draft
July 17, 2026 19:41
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 21, 2026 17:28
9ffef7c to
e62c85f
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 21, 2026 17:28
e5e9ffe to
63749ac
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 21, 2026 22:16
e62c85f to
879aaea
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 21, 2026 22:18
63749ac to
6237fe8
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 21, 2026 23:39
879aaea to
944b243
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 21, 2026 23:40
6237fe8 to
7f09192
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 21, 2026 23:43
944b243 to
f297509
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 21, 2026 23:43
7f09192 to
fb1c303
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 21, 2026 23:56
f297509 to
8879fe4
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 21, 2026 23:56
fb1c303 to
d2f2312
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 22, 2026 02:49
8879fe4 to
92d7666
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 22, 2026 02:50
d2f2312 to
229fc53
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 22, 2026 18:25
92d7666 to
5dff61a
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 22, 2026 18:26
229fc53 to
2cdbecf
Compare
bkhouri
force-pushed
the
t/main/gh846_native_response_file_support
branch
from
July 22, 2026 18:29
5dff61a to
2065f86
Compare
bkhouri
force-pushed
the
t/gh846/add_source_location
branch
from
July 22, 2026 18:29
2cdbecf to
f680b87
Compare
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
force-pushed
the
t/gh846/add_source_location
branch
from
July 24, 2026 21:47
f680b87 to
bb62275
Compare
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.
Add the experimental
--experimental-dump-arguments-source-locationoption. 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