diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-04 10:46:24 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-04 10:46:24 -0600 |
commit | 8369a10413a2af209edc2076b9163b3c4dbb407e (patch) | |
tree | 55591722d308d2519f8dbafb2a7cdcdc2ceaa3c1 /src/main.cpp | |
parent | 0f916567c8fd9bd599cbc71684215721ce4a1bc0 (diff) | |
download | mana-8369a10413a2af209edc2076b9163b3c4dbb407e.tar.gz mana-8369a10413a2af209edc2076b9163b3c4dbb407e.tar.bz2 mana-8369a10413a2af209edc2076b9163b3c4dbb407e.tar.xz mana-8369a10413a2af209edc2076b9163b3c4dbb407e.zip |
Fix a typo in --help output
Also make the line only show if compiled for OpenGL
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
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; } |