aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
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.