diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-11-07 09:42:37 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-11-07 09:42:37 +0000 |
commit | 62000bbaa70a2638588a1c15fc6511609f47b579 (patch) | |
tree | 2e4e0041370ab589af8a25c7ca1d9f1c29b62300 /Build/source/texk/web2c/omegaware | |
parent | afa9405e970b8a1f04badff4c8d78bd3ca530aee (diff) |
texk/web2c: Correct help messages for Web2C and C versions of ofm2opl & Co
git-svn-id: svn://tug.org/texlive/trunk@35536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegaware')
-rw-r--r-- | Build/source/texk/web2c/omegaware/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/omegaware/am/omegaware.am | 13 | ||||
-rwxr-xr-x | Build/source/texk/web2c/omegaware/help.test | 17 | ||||
-rw-r--r-- | Build/source/texk/web2c/omegaware/ofm2opl.ch | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/omegaware/ovf2ovp.ch | 2 |
5 files changed, 31 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/omegaware/ChangeLog b/Build/source/texk/web2c/omegaware/ChangeLog index 4ba7193ffe8..f51f54e1f12 100644 --- a/Build/source/texk/web2c/omegaware/ChangeLog +++ b/Build/source/texk/web2c/omegaware/ChangeLog @@ -1,3 +1,8 @@ +2014-11-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * ofm2opl.ch, ovf2ovp.ch: Add missing space to message. + * help.test: New shell script to test help messages and options. + 2014-11-06 Peter Breitenlohner <peb@mppmu.mpg.de> * ofm2opl.ch, ovf2ovp.ch: Add stringcast to avoid printing diff --git a/Build/source/texk/web2c/omegaware/am/omegaware.am b/Build/source/texk/web2c/omegaware/am/omegaware.am index 6080c46c9ba..342f973fb86 100644 --- a/Build/source/texk/web2c/omegaware/am/omegaware.am +++ b/Build/source/texk/web2c/omegaware/am/omegaware.am @@ -100,12 +100,13 @@ DISTCLEANFILES += ovp2ovf.web OTANGLE_tests = omegaware/odvicopy.test omegaware/odvitype.test \ omegaware/otangle.test OMFONTS_tests = omegaware/charwd.test omegaware/check.test \ - omegaware/level1.test omegaware/ligkern.test \ - omegaware/ofonts.test omegaware/omfonts.test \ - omegaware/overbmp.test omegaware/realnum.test \ - omegaware/repeat.test omegaware/selectfont.test \ - omegaware/shorten.test omegaware/specialhex.test \ - omegaware/vrepeat.test omegaware/yannis.test + omegaware/help.test omegaware/level1.test \ + omegaware/ligkern.test omegaware/ofonts.test \ + omegaware/omfonts.test omegaware/overbmp.test \ + omegaware/realnum.test omegaware/repeat.test \ + omegaware/selectfont.test omegaware/shorten.test \ + omegaware/specialhex.test omegaware/vrepeat.test \ + omegaware/yannis.test EXTRA_DIST += $(OTANGLE_tests) $(OMFONTS_tests) if OTANGLE diff --git a/Build/source/texk/web2c/omegaware/help.test b/Build/source/texk/web2c/omegaware/help.test new file mode 100755 index 00000000000..c6e69bb13d2 --- /dev/null +++ b/Build/source/texk/web2c/omegaware/help.test @@ -0,0 +1,17 @@ +#! /bin/sh + +# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +echo && echo "*** ofm2opl -help" +./wofm2opl -char=foo -help || exit 1 + +echo && echo "*** opl2ofm -help" +./wopl2ofm -help || exit 1 + +echo && echo "*** ovf2ovp -help" +./wovf2ovp -char=bar -help || exit 1 + +echo && echo "*** ovp2ovf -help" +./wovp2ovf -help || exit 1 + diff --git a/Build/source/texk/web2c/omegaware/ofm2opl.ch b/Build/source/texk/web2c/omegaware/ofm2opl.ch index d6006b1f4dd..bbbbce8898e 100644 --- a/Build/source/texk/web2c/omegaware/ofm2opl.ch +++ b/Build/source/texk/web2c/omegaware/ofm2opl.ch @@ -355,7 +355,7 @@ begin else if strcmp (optarg, 'hex') = 0 then charcode_format := charcode_hex else - write_ln (stderr, 'Bad character code format', stringcast(optarg), '.'); + write_ln (stderr, 'Bad character code format ', stringcast(optarg), '.'); end; {Else it was a flag; |getopt| has already done the assignment.} until getopt_return_val = -1; diff --git a/Build/source/texk/web2c/omegaware/ovf2ovp.ch b/Build/source/texk/web2c/omegaware/ovf2ovp.ch index 620c9309779..575f6a43a86 100644 --- a/Build/source/texk/web2c/omegaware/ovf2ovp.ch +++ b/Build/source/texk/web2c/omegaware/ovf2ovp.ch @@ -547,7 +547,7 @@ begin else if strcmp (optarg, 'hex') = 0 then charcode_format := charcode_hex else - write_ln (stderr, 'Bad character code format', stringcast(optarg), '.'); + write_ln (stderr, 'Bad character code format ', stringcast(optarg), '.'); end; {Else it was a flag; |getopt| has already done the assignment.} until getopt_return_val = -1; |