diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-03-27 20:58:54 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-03-27 20:58:54 +0100 |
commit | ac8e82c3a11f79082e9ed5f5f9c654c8f32b2ebc (patch) | |
tree | bbcaf58ac980987495f072e96c40150c2d119f48 /man | |
parent | 2bc12dae0b1b0f17b80f79d7eef8e807c5e9341e (diff) | |
download | blogc-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.ronn | 12 |
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. |