Skip to content

vulkaninfo: Error when multiple output formats are given - #1256

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
devnu11:claude/clever-mayer-kfu8wn
Sep 30, 2026
Merged

charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
devnu11:claude/clever-mayer-kfu8wn

Conversation

@devnu11

@devnu11 devnu11 commented Sep 29, 2026

Copy link
Copy Markdown

--summary, --text, --html, --json and --vkconfig_output are mutually exclusive, but previously the last one silently won. parse_arguments now records each requested format in a set and fails with an error if more than one distinct format was given. Repeating the same format is still accepted.

Adds CTest cases that run vulkaninfo with conflicting format pairs and check for the error message, and documents the restriction in the help text and vulkaninfo.md.

--summary, --text, --html, --json and --vkconfig_output are mutually
exclusive, but previously the last one silently won. parse_arguments now
records each requested format in a set and fails with an error if more
than one distinct format was given. Repeating the same format is still
accepted.

Adds CTest cases that run vulkaninfo with conflicting format pairs and
check for the error message, and documents the restriction in the help
text and vulkaninfo.md.
@ci-tester-lunarg

Copy link
Copy Markdown

Author devnu11 not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

Author devnu11 not on autobuild list. Waiting for curator authorization before starting CI build.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Tools build queued with queue ID 137129.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Tools build # 2039 running.

@charles-lunarg charles-lunarg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good to have a check for exclusive command line options. Thanks!

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Tools build # 2039 passed.

@charles-lunarg
charles-lunarg merged commit e66cf3b into KhronosGroup:main Sep 30, 2026
18 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.

3 participants