aboutsummaryrefslogtreecommitdiff
path: root/vulkaninfo/vulkaninfo.cpp
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2019-11-01 11:40:27 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2019-11-01 14:23:01 -0600
commit1efe15633cf80f070852ecc54d591b7fb3e2a67e (patch)
tree61be4257bc3c699674865e22ed8cd0f7d371fc2d /vulkaninfo/vulkaninfo.cpp
parentd5b8bdcdf7f47f9bd7846cd297c506d62c7fe3a4 (diff)
downloadusermoji-1efe15633cf80f070852ecc54d591b7fb3e2a67e.tar.xz
vulkaninfo: added more documentation for show-formats
The indented behavior was to only show format properties if requested for text output and always show them for html & json. This commit modifies the --help output and documentation to better reflect this behavior. files modified - vulkaninfo/vulkaninfo.cpp - vulkaninfo/vulkaninfo.md Change-Id: I5e35b8af2db74c37dfadf669ffc81e69304fc4e0
Diffstat (limited to 'vulkaninfo/vulkaninfo.cpp')
-rw-r--r--vulkaninfo/vulkaninfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp
index f12b370f..fae81475 100644
--- a/vulkaninfo/vulkaninfo.cpp
+++ b/vulkaninfo/vulkaninfo.cpp
@@ -668,7 +668,9 @@ void print_usage(const char *argv0) {
std::cout << " specifying the gpu-number associated with the gpu of \n";
std::cout << " interest. This number can be determined by running\n";
std::cout << " vulkaninfo without any options specified.\n";
- std::cout << "--show-formats Display the format properties of each physical device.\n\n";
+ std::cout << "--show-formats Display the format properties of each physical device.\n";
+ std::cout << " Note: This option does not affect html or json output;\n";
+ std::cout << " they will always print format properties.\n\n";
}
int main(int argc, char **argv) {