aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-28 05:56:02 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-10-28 05:56:02 +0000
commit121cb21f8dffe85aa09e08700bfd6052533d0710 (patch)
tree84537aeb26a9c8cb8d754266b6db979f3b4b3297
parent469a36d8453d49a8d339f1b8d6865e3a4860bdf2 (diff)
downloadpandoc-121cb21f8dffe85aa09e08700bfd6052533d0710.tar.gz
+ fixed html2markdown usage message, in which w3m occured twice
+ added usage documentation to beginning of fillTemplates.pl git-svn-id: https://pandoc.googlecode.com/svn/trunk@23 788f1e2b-df1e-0410-8736-df70ead52e1b
-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;