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 | a9ddddb66da5e53f3ba1c3a68d6f828d97dd684d (patch) | |
tree | 3cca47e087e16a0b1a0399045c9a7018ab2bdb9f /gmdiff | |
parent | d7a5b4c3c2f2f5da253943d18545b97fafd28a49 (diff) | |
download | mandoc-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-- | 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 |