diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-06 03:48:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-06 03:48:33 +0000 |
commit | d4f22904a2c95e6e37afb6ff6303673a185d3595 (patch) | |
tree | 90bb1193605b5dc8d78aaf606c8f75f6aa663b24 /gmdiff | |
parent | fc520e3cedbcdd86eb2b80e94cce78f98af717cf (diff) | |
download | mandoc-d4f22904a2c95e6e37afb6ff6303673a185d3595.tar.gz mandoc-d4f22904a2c95e6e37afb6ff6303673a185d3595.tar.zst mandoc-d4f22904a2c95e6e37afb6ff6303673a185d3595.zip |
explicitly pass -Tascii to mandoc(1), such that LC_CTYPE does not
get into the way, and fix the usage() while here
Diffstat (limited to 'gmdiff')
-rw-r--r-- | gmdiff | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ if [ `id -u` -eq 0 ]; then fi if [ $# -eq 0 ]; then - echo "usage: $0 -h manual_source_file ..." + echo "usage: $0 [-h] manual_source_file ..." exit 1 fi @@ -33,7 +33,7 @@ else EQN="eqn -Tascii" ROFF="groff -ww -Tascii -P -c" fi -MOPT="-Werror $MOPT" +MOPT="-Werror -Tascii $MOPT" while [ -n "$1" ]; do file=$1 |