summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 31628dd4..6d48bf8e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -578,7 +578,9 @@ static void printHelp()
<< _(" -s --server : Login Server name or IP") << endl
<< _(" -u --skip-update : Skip the update downloads") << endl
<< _(" -U --username : Login with this username") << endl
- << _(" -O --no-opengl : Disable OpenGL for this sesion") << endl
+#ifdef USE_OPENGL
+ << _(" -O --no-opengl : Disable OpenGL for this session") << endl
+#endif
<< _(" -v --version : Display the version") << endl;
}