Skip to content

Commit

Permalink
wmllint: reorganize help into mode options and other options
Browse files Browse the repository at this point in the history
The organization of Elvish Hunter's wmllint GUI tab suggested this change.
  • Loading branch information
groggyd88 committed Jun 10, 2014
1 parent 5b06aa9 commit 61c8c93
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions data/tools/wmllint
Expand Up @@ -2645,18 +2645,23 @@ def help():
Usage: wmllint [options] [dir]
Convert Battle of Wesnoth WML from older versions to newer ones.
Also validates WML to check for errors.
Takes any number of directories as arguments. Each directory is converted.
If no directories are specified, acts on the current directory.
Options may be any of these:
Mode options:
Changes wmllint from default conversion mode. Only one mode can be chosen.
-h, --help Emit this help message and quit.
-d, --dryrun List changes but don't perform them.
-v, --verbose -v lists changes.
-v -v names each file before it's processed.
-v -v -v shows verbose parse details.
-d, --dryrun List changes (-v) but don't perform them.
-c, --clean Clean up -bak files.
-D, --diff Display diffs between converted and unconverted
files.
-r, --revert Revert the conversion from the -bak files.
Other options:
-v, --verbose -v lists changes.
-v -v names each file before it's processed.
-v -v -v shows verbose parse details.
-m, --missing Don't warn about tags without side= keys now
applying to all sides.
-s, --stripcr Convert DOS-style CR/LF to Unix-style LF.
Expand All @@ -2666,6 +2671,7 @@ Usage: wmllint [options] [dir]
races, scenarios, etc.
-S, --nospellcheck Suppress spellchecking
-Z, --stringfreeze Suppress repair attempts of newlines in messages
For more about wmllint, including how to prevent unwanted conversions and false
positive warnings with magic comments, read the introduction in the wmllint
file itself. See also: http://wiki.wesnoth.org/Maintenance_tools.
Expand Down

0 comments on commit 61c8c93

Please sign in to comment.