aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-03-27 20:58:54 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-03-27 20:58:54 +0100
commitac8e82c3a11f79082e9ed5f5f9c654c8f32b2ebc (patch)
treebbcaf58ac980987495f072e96c40150c2d119f48 /man
parent2bc12dae0b1b0f17b80f79d7eef8e807c5e9341e (diff)
downloadblogc-ac8e82c3a11f79082e9ed5f5f9c654c8f32b2ebc.tar.gz
blogc-ac8e82c3a11f79082e9ed5f5f9c654c8f32b2ebc.tar.bz2
blogc-ac8e82c3a11f79082e9ed5f5f9c654c8f32b2ebc.zip
blogc: dump source file variables as well as global variables
Diffstat (limited to 'man')
-rw-r--r--man/blogc.1.ronn12
1 files changed, 9 insertions, 3 deletions
diff --git a/man/blogc.1.ronn b/man/blogc.1.ronn
index 96b7874..eb64420 100644
--- a/man/blogc.1.ronn
+++ b/man/blogc.1.ronn
@@ -58,9 +58,15 @@ designed to be used with make(1).
See blogc-template(7) for details.
* `-p` <KEY>:
- Show the value of a global configuration parameter right after the source
- parsing and exits. This is useful to get parameters for your `Makefile`,
- like the last page when using pagination, see blogc-pagination(7) for details.
+ Show the value of a variable right after the source parsing and exits. This
+ is useful to get parameters for your `Makefile`, like the last page when
+ implementing pagination, see blogc-pagination(7) for details. This can be
+ also useful to dump variables defined in a source file without parsing it
+ manually, if called without `-l`. Please note that variables generated by
+ blogc during rendering process, like `BLOGC_RUSAGE_MEMORY` are not available
+ because blogc will exit without rendering any content when called with this
+ option, and will not even require a template, but variables generated during
+ parsing process, like `CONTENT` are available.
* `-t` <TEMPLATE>:
Template file. It is a required option, if `blogc` needs to render something.