From 7b931a2de043c6ece0b8bef269bf9351e1a499db Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Wed, 27 Dec 2006 19:41:04 +0200 Subject: [PATCH] conf2doc: Backslashify --help, --enable, --disable to avoid —. --- doc/tools/conf2doc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/tools/conf2doc b/doc/tools/conf2doc index 99034bb2..5d4a98f2 100755 --- a/doc/tools/conf2doc +++ b/doc/tools/conf2doc @@ -73,7 +73,8 @@ cat "$CONFFILE" | while read line; do # Ignore ;; "#"*) - line=$(strip_comment "$line") + # Backslashify --help, --enable, --disable to avoid —. + line=$(strip_comment "$line" | sed 's/ --\([hed]\)/ \\--\1/') echo "$line" >> $TMPFILE ;; esac