plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit a871b3adf1f7df2470f91fb4866b0825c3bc2353
parent 07184d91212fb2b3fab7df9367e7549395a2504d
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue,  5 Apr 2016 20:49:56 +0200

better usage

Diffstat:
plint.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plint.py b/plint.py @@ -28,9 +28,12 @@ def run(): if __name__ == '__main__': localization.init_locale() if len(sys.argv) < 2 or len(sys.argv) > 4: - print(_("Usage: %s TEMPLATE [DFILE [OCONTEXT]]") % sys.argv[0], file=sys.stderr) + print(_("Usage: %s TEMPLATE [DFILE [OCONTEXT]]") % sys.argv[0], + file=sys.stderr) print(_("Check stdin according to TEMPLATE, report errors on stdout"), file=sys.stderr) + print(_("DFILE is the diaeresis file, OCONTEXT is the context output file"), + file=sys.stderr) sys.exit(1) template_name = sys.argv[1]