aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/usage.mdwn5
-rwxr-xr-xikiwiki.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/usage.mdwn b/doc/usage.mdwn
index cd8f0542c..4c08c5b39 100644
--- a/doc/usage.mdwn
+++ b/doc/usage.mdwn
@@ -277,6 +277,11 @@ configuration options of their own.
Toggle creating output files named page/index.html (default) instead of page.html.
+* --prefix-directives, --no-prefix-directives
+
+ Toggle new '!'-prefixed syntax for preprocessor directives. ikiwiki currently
+ defaults to --no-prefix-directives.
+
* --w3mmode, --no-w3mmode
Enable [[w3mmode]], which allows w3m to use ikiwiki as a local CGI script,
diff --git a/ikiwiki.in b/ikiwiki.in
index 1ce7e1688..e0a591824 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -29,6 +29,7 @@ sub getconfig () { #{{{
"render=s" => \$config{render},
"wrappers!" => \$config{wrappers},
"usedirs!" => \$config{usedirs},
+ "prefix-directives!" => \$config{prefix_directives},
"getctime" => \$config{getctime},
"numbacklinks=i" => \$config{numbacklinks},
"rcs=s" => \$config{rcs},