aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html2markdown2
-rw-r--r--src/templates/fillTemplates.pl8
2 files changed, 7 insertions, 3 deletions
diff --git a/html2markdown b/html2markdown
index 3f9a4857e..931c74b74 100644
--- a/html2markdown
+++ b/html2markdown
@@ -31,7 +31,7 @@ else
links) OPT="-source" ;;
w3c) OPT="-n -get" ;;
"") echo -n >&2 "Needs a program to fetch the URL "
- echo -n >&2 "(e.g. wget, w3m, lynx, w3m or curl)."
+ echo -n >&2 "(e.g. wget, w3m, lynx, w3c, or curl)."
exit 1 ;;
esac
# Fetch and feed to pandoc.
diff --git a/src/templates/fillTemplates.pl b/src/templates/fillTemplates.pl
index 381db13d5..e85f1672a 100644
--- a/src/templates/fillTemplates.pl
+++ b/src/templates/fillTemplates.pl
@@ -1,6 +1,10 @@
#!/usr/bin/env perl
-# fills templates in templates directory with haskell-escaped strings
-# slurped from input files
+# Fills templates with haskell-escaped strings slurped from input files.
+# Takes two arguments, the first specifying the pathname of the target
+# relative to the root directory, the second specifying the root directory
+# (defaulting to ..). The template is assumed to have the same base name
+# as the target and to reside in the templates subdirectory of the root
+# directory.
use strict;
use warnings;