1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-16 23:45:30 +00:00

conf2doc: Backslashify --help, --enable, --disable to avoid —.

This commit is contained in:
Kalle Olavi Niemitalo 2006-12-27 19:41:04 +02:00 committed by Kalle Olavi Niemitalo
parent eb7ac943ed
commit 7b931a2de0

View File

@ -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