summaryrefslogtreecommitdiffstats
path: root/gmdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-06 03:48:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-06 03:48:33 +0000
commita9ddddb66da5e53f3ba1c3a68d6f828d97dd684d (patch)
tree3cca47e087e16a0b1a0399045c9a7018ab2bdb9f /gmdiff
parentd7a5b4c3c2f2f5da253943d18545b97fafd28a49 (diff)
downloadmandoc-a9ddddb66da5e53f3ba1c3a68d6f828d97dd684d.tar.gz
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--gmdiff4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmdiff b/gmdiff
index 8d24fa76..278ce749 100644
--- a/gmdiff
+++ b/gmdiff
@@ -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