@@ -13,11 +13,12 @@ image:https://travis-ci.org/flashcode/msgcheck.svg?branch=master["Build Status",
1313** whitespace at beginning/end of strings
1414** trailing whitespace at end of lines inside strings
1515** punctuation at end of strings
16- ** spelling (messages and translations)
16+ ** spelling (messages and translations).
1717
18- The script requires Python >= 2.7.
18+ The script requires:
1919
20- Module `pyenchant` is required if spelling is checked (option `-s` ).
20+ * Python >= 2.7
21+ * the module `pyenchant` if spelling is checked (with option `-s` ).
2122
2223== Install
2324
@@ -27,7 +28,7 @@ Install a released version from the Python package index with pip:
2728$ pip install msgcheck
2829----
2930
30- Install via source distribution:
31+ Or you can install via source distribution:
3132
3233----
3334$ python setup.py install
@@ -52,8 +53,8 @@ Options:
5253 `str` = translations)
5354* `-d <dicts>`, `--dicts <dicts>`: comma-separated list of extra dictionaries
5455 to use (in addition to file language)
55- * `-P <file>`, `--pwl <file>`: file with personal word list used when checking
56- spelling
56+ * `-P <file>`, `--pwl <file>`: file with personal list of words used when
57+ checking spelling
5758* `-m`, `--only-misspelled`: display only misspelled words (no error, line
5859 number and translation)
5960* `-w`, `--no-whitespace`: do not check whitespace at beginning/end of strings
@@ -64,11 +65,12 @@ Options:
6465* `-q`, `--quiet`: quiet mode: only display number of errors
6566* `-v`, `--version`: display version and exit
6667
67- Environment variable `MSGCHECK_OPTIONS` can be set with some default options.
68+ The environment variable `MSGCHECK_OPTIONS` can be set with some default
69+ options.
6870
6971The script returns exit code *0* if all files checked are OK
70- (0 errors or option `--extract` given) or it returns *n *: number of files with
71- errors (n >= 1).
72+ (0 errors or option `--extract` given) or it returns *N *: number of files with
73+ errors (N >= 1).
7274
7375== Example
7476
0 commit comments