[Commits] [wesnoth/wesnoth] 1a0d04: GUI.pyw: fixed a bug that caused the output to not...

GitHub noreply at github.com
Tue Oct 20 13:04:09 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1a0d04d7b2ea296c341f8d624e06a82d7338c50d
      https://github.com/wesnoth/wesnoth/commit/1a0d04d7b2ea296c341f8d624e06a82d7338c50d
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-10-20 (Tue, 20 Oct 2015)

  Changed paths:
    M data/tools/GUI.pyw

  Log Message:
  -----------
  GUI.pyw: fixed a bug that caused the output to not be printed on Windows


  Commit: 42ac2e0fe713a1182d302330b257a5e6a1a7a766
      https://github.com/wesnoth/wesnoth/commit/42ac2e0fe713a1182d302330b257a5e6a1a7a766
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-10-20 (Tue, 20 Oct 2015)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: upgrade from optparse to argparse

This has two advantages: first, it enforces a help style which is consistent across the various tools; second, it makes easier adding new command line options.
Another interesting fact is that those options requiring additional parameters do not need the equal sign any more; that is, writing --foo=bar is now the same as writing --foo bar.


  Commit: 2d4ef7a42d0e4306b4fda3460ff0cbc876dc4a55
      https://github.com/wesnoth/wesnoth/commit/2d4ef7a42d0e4306b4fda3460ff0cbc876dc4a55
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-10-20 (Tue, 20 Oct 2015)

  Changed paths:
    M data/tools/wmlscope

  Log Message:
  -----------
  wmlscope: upgrade from optparse to argparse


  Commit: 491ba7924f40126837a64b6f6f7b69aba986306a
      https://github.com/wesnoth/wesnoth/commit/491ba7924f40126837a64b6f6f7b69aba986306a
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-10-20 (Tue, 20 Oct 2015)

  Changed paths:
    M data/tools/wmlindent

  Log Message:
  -----------
  wmlindent: upgrade from optparse to argparse


  Commit: e07de1bf48f31ebed8d994c3c066b7c28d24aaf1
      https://github.com/wesnoth/wesnoth/commit/e07de1bf48f31ebed8d994c3c066b7c28d24aaf1
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-10-20 (Tue, 20 Oct 2015)

  Changed paths:
    M data/tools/GUI.pyw

  Log Message:
  -----------
  GUI.pyw: fixed regexps not being handled correctly on non Windows systems

This fix relies on the fact that argparse doesn't require the equal sign any more.


Compare: https://github.com/wesnoth/wesnoth/compare/33bfaf5ffc24...e07de1bf48f3


More information about the Commits mailing list