diff --git a/res/unix/OpenJazz.6.adoc b/res/unix/OpenJazz.6.adoc index ae98bd6e..738b6e96 100644 --- a/res/unix/OpenJazz.6.adoc +++ b/res/unix/OpenJazz.6.adoc @@ -33,14 +33,14 @@ To play, you will need original data files. *-f*, *--fullscreen*:: Start in fullscreen mode. -*-w*, *--window*:: +*--window*:: Start in window mode. *-m*:: Start with muted audio. *-s*, *--scale[=]* <__Factor__>:: - Scale window by factor. + Scale window by factor. Can be between _1_ and _4_. *-w*, *--world[=]* <__World__> *-l*, *--level[=]* <__Level__>:: Directly load specific world/level. diff --git a/src/main.cpp b/src/main.cpp index 08edc3bd..146b026f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,8 +73,7 @@ int display_mode_cb(struct argparse *, const struct argparse_option *option) { } #endif -int version_cb(struct argparse *, const struct argparse_option *option) { - (void)option; +int version_cb(struct argparse *, const struct argparse_option */*option*/) { printf("OpenJazz %s, built on %s.\n", OJ_VERSION, OJ_DATE); exit(EXIT_SUCCESS); } @@ -97,7 +96,7 @@ int checkOptions (int argc, char *argv[]) { #ifndef FULLSCREEN_ONLY OPT_BOOLEAN('f', "fullscreen", NULL, "Display in Fullscreen mode", display_mode_cb, 0, OPT_NONEG), - OPT_BOOLEAN('w', "window", NULL, "Display in Window mode", + OPT_BOOLEAN('\0', "window", NULL, "Display in Window mode", display_mode_cb, 0, OPT_NONEG), #endif OPT_INTEGER('s', "scale", &cli.scaleFactor, "Scale graphics times", NULL, 0, 0),