From c1259aad8f427154436bbd9c9bed22d8844272cd Mon Sep 17 00:00:00 2001 From: "A. Tombs" Date: Mon, 6 Jun 2016 16:12:53 +0100 Subject: [PATCH] Add explanation of parameters to gamma test Unlike similar test programs (e.g. tearing.c), the gamma test does not explain the meanings of the optional parameters `h` and `f`. This patch adds these explanations to the usage text. --- tests/gamma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gamma.c b/tests/gamma.c index 1efd3c7d5..a80392f74 100644 --- a/tests/gamma.c +++ b/tests/gamma.c @@ -43,6 +43,9 @@ static GLfloat gamma_value = 1.0f; static void usage(void) { printf("Usage: gamma [-h] [-f]\n"); + printf("Options:\n"); + printf(" -f create full screen window\n"); + printf(" -h show this help\n"); } static void set_gamma(GLFWwindow* window, float value)