changeset 98:44e3656f4c83

Fix help to display correct range for frame numbers.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 May 2021 09:46:06 +0300
parents 05677852afd5
children 22774e3f2a89
files gldragon.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gldragon.cpp	Tue May 25 02:57:04 2021 +0300
+++ b/gldragon.cpp	Tue May 25 09:46:06 2021 +0300
@@ -229,7 +229,7 @@
             "               Using vsync (2) will result in FPS being approximately\n"
             "               whatever your monitor refresh rate is. The default\n"
             "               value is 1 (no vsync).\n"
-            " -p<frameN>    Start and pause at cycle frame (max %d).\n"
+            " -p<frameN>    Start and pause at cycle frame (%d .. %d).\n"
             "\n"
             "Keyboard controls during runtime:\n"
             " p / space    Toggle pause (does not/should not affect fps measurement)\n"
@@ -238,7 +238,7 @@
             "\n",
             argv[0],
             SET_DEF_WIDTH, SET_DEF_HEIGHT,
-            SET_FRAMES
+            0, SET_FRAMES - 1
             );
 
         goto exit;