aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitd4f22904a2c95e6e37afb6ff6303673a185d3595 (patch)
tree90bb1193605b5dc8d78aaf606c8f75f6aa663b24 /gmdiff
parentfc520e3cedbcdd86eb2b80e94cce78f98af717cf (diff)
downloadmandoc-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--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