From d8c278bf529da00df31d125a7ad6291123ade2ef Mon Sep 17 00:00:00 2001 From: "A. Tombs" Date: Mon, 6 Jun 2016 20:25:13 +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. Closes #775. --- tests/gamma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gamma.c b/tests/gamma.c index 1efd3c7d..a80392f7 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)