Skip to content
Snippets Groups Projects
Commit c80ec91d authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Fix some typos

parent fad66289
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -82,7 +82,7 @@
== Version 1.5 (2013-09-15)
 
* add option "-s" (or "--spelling") to check spelling and option "--pwl" to
use a personal word list (with module "python-enchant")
use a personal list of words (with module "python-enchant")
 
== Version 1.4 (2013-09-14)
 
Loading
Loading
Loading
Loading
@@ -13,11 +13,12 @@ image:https://travis-ci.org/flashcode/msgcheck.svg?branch=master["Build Status",
** whitespace at beginning/end of strings
** trailing whitespace at end of lines inside strings
** punctuation at end of strings
** spelling (messages and translations)
** spelling (messages and translations).
 
The script requires Python >= 2.7.
The script requires:
 
Module `pyenchant` is required if spelling is checked (option `-s`).
* Python >= 2.7
* the module `pyenchant` if spelling is checked (with option `-s`).
 
== Install
 
Loading
Loading
@@ -27,7 +28,7 @@ Install a released version from the Python package index with pip:
$ pip install msgcheck
----
 
Install via source distribution:
Or you can install via source distribution:
 
----
$ python setup.py install
Loading
Loading
@@ -52,8 +53,8 @@ Options:
`str` = translations)
* `-d <dicts>`, `--dicts <dicts>`: comma-separated list of extra dictionaries
to use (in addition to file language)
* `-P <file>`, `--pwl <file>`: file with personal word list used when checking
spelling
* `-P <file>`, `--pwl <file>`: file with personal list of words used when
checking spelling
* `-m`, `--only-misspelled`: display only misspelled words (no error, line
number and translation)
* `-w`, `--no-whitespace`: do not check whitespace at beginning/end of strings
Loading
Loading
@@ -64,11 +65,12 @@ Options:
* `-q`, `--quiet`: quiet mode: only display number of errors
* `-v`, `--version`: display version and exit
 
Environment variable `MSGCHECK_OPTIONS` can be set with some default options.
The environment variable `MSGCHECK_OPTIONS` can be set with some default
options.
 
The script returns exit code *0* if all files checked are OK
(0 errors or option `--extract` given) or it returns *n*: number of files with
errors (n >= 1).
(0 errors or option `--extract` given) or it returns *N*: number of files with
errors (N >= 1).
 
== Example
 
Loading
Loading
Loading
Loading
@@ -75,7 +75,7 @@ The script returns:
help='comma-separated list of extra dictionaries '
'to use (in addition to file language)')
parser.add_argument('-P', '--pwl',
help='file with personal word list used when '
help='file with personal list of words used when '
'checking spelling')
parser.add_argument('-m', '--only-misspelled', action='store_true',
help='display only misspelled words (no error, '
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment