--- atanks-4.3.old/src/atanks.cpp +++ atanks-4.3/src/atanks.cpp @@ -4768,11 +4768,12 @@ void print_text_help() { cout << "-h\tThis screen\n" - << "-fs\tFull screen\n" + << "--fs\tFull screen\n" << "--windowed\tRun in a window\n" << "-w or --width \tSpecify the screen width in pixels\n" << "-t --tall \tSpecify the screen height in pixels\n" - << "\tAdjust the screen size at your own risk (default is 800x600)\n" + << "--height \t\tSame as --tall\n" + << "\tAdjust screen size at your own risk (default is 800x600)\n" << "-d or --depth \tCurrently either 16 or 32\n" << "--datadir \t Path to the data directory\n" << "-c \t Path to config and saved game directory\n" @@ -5059,7 +5060,7 @@ print_text_help(); return 0; } - else if (tmp == SWITCH_FULL_SCREEN) + else if ((tmp == SWITCH_FULL_SCREEN) || (tmp == "--fs")) { screen_mode = GFX_AUTODETECT_FULLSCREEN; full_screen = FULL_SCREEN_TRUE; @@ -5077,7 +5078,8 @@ { nextToken = ARGV_SCREEN_WIDTH; } - else if (tmp == "-t" || tmp == "--tall") + else if ((tmp == "-t") || (tmp == "--tall") || + (tmp == "--height")) { nextToken = ARGV_SCREEN_HEIGHT; }