Skip to content

Commit

Permalink
Commandline: Fix documentation of --render-image
Browse files Browse the repository at this point in the history
  • Loading branch information
jostephd authored and Vultraz committed Sep 26, 2018
1 parent c88a799 commit c55b0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commandline_options.cpp
Expand Up @@ -179,7 +179,7 @@ commandline_options::commandline_options (const std::vector<std::string>& args)
("password", po::value<std::string>(), "uses <password> when connecting to a server, ignoring other preferences.")
("path", "prints the path to the data directory and exits.")
("plugin", po::value<std::string>(), "(experimental) load a script which defines a wesnoth plugin. similar to --script below, but lua file should return a function which will be run as a coroutine and periodically woken up with updates.")
("render-image", po::value<two_strings>()->multitoken(), "takes two arguments: <image> <output>. Like screenshot, but instead of a map, takes a valid wesnoth 'image path string' with image path functions, and outputs to a windows .bmp file."
("render-image", po::value<two_strings>()->multitoken(), "takes two arguments: <image> <output>. Like screenshot, but instead of a map, takes a valid wesnoth 'image path string' with image path functions, and writes it to a .png file."
#ifdef _WIN32
" Implies --wconsole."
#endif // _WIN32
Expand Down

0 comments on commit c55b0c6

Please sign in to comment.