vulkan/overlay: update help printout
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 28 Feb 2019 16:47:56 +0000 (16:47 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 2 May 2019 16:02:06 +0000 (17:02 +0100)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/vulkan/overlay-layer/overlay_params.c

index 36819659c6fce6417b50f4a29f3d12dfc080c0f9..51f853095741d2af26cda8dab326b697460f76a5 100644 (file)
@@ -58,13 +58,13 @@ parse_help(const char *str)
 {
    fprintf(stderr, "Layer params using VK_LAYER_MESA_OVERLAY_CONFIG=\n");
 #define OVERLAY_PARAM_BOOL(name)                \
-   fprintf(stderr, "\t%s=0/1\n", #name);
+   fprintf(stderr, "\t%s=0|1\n", #name);
 #define OVERLAY_PARAM_CUSTOM(name)
    OVERLAY_PARAMS
 #undef OVERLAY_PARAM_BOOL
 #undef OVERLAY_PARAM_CUSTOM
    fprintf(stderr, "\tposition=top-left|top-right|bottom-left|bottom-right\n");
-   fprintf(stderr, "\tfps_sampling_period=number of milliseconds\n");
+   fprintf(stderr, "\tfps_sampling_period=number-of-milliseconds\n");
 
    return true;
 }