aboutsummaryrefslogtreecommitdiffstats
path: root/man/blogc.1.ronn
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-28 20:34:45 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-28 20:34:45 -0300
commit4e6925a1a6f4d2be145d02f1a08553d7d8fd2624 (patch)
tree62d58ff4fff8a9fb38661b6e01bef5c584903d9a /man/blogc.1.ronn
parent0c67cae6e45b77b29c8450c721491b32c56258fa (diff)
downloadblogc-4e6925a1a6f4d2be145d02f1a08553d7d8fd2624.tar.gz
blogc-4e6925a1a6f4d2be145d02f1a08553d7d8fd2624.tar.bz2
blogc-4e6925a1a6f4d2be145d02f1a08553d7d8fd2624.zip
main: added option to print global config parameters after parsing
Diffstat (limited to 'man/blogc.1.ronn')
-rw-r--r--man/blogc.1.ronn9
1 files changed, 8 insertions, 1 deletions
diff --git a/man/blogc.1.ronn b/man/blogc.1.ronn
index ddf33ca..d657529 100644
--- a/man/blogc.1.ronn
+++ b/man/blogc.1.ronn
@@ -5,6 +5,7 @@ blogc(1) -- a blog compiler
`blogc` [`-D` <KEY>=<VALUE> ...] `-t` <TEMPLATE> [`-o` <OUTPUT>] <SOURCE><br>
`blogc` `-l` [`-D` <KEY>=<VALUE> ...] `-t` <TEMPLATE> [`-o` <OUTPUT>] <SOURCE> [<SOURCE> ...]<br>
+`blogc` `-l` `-p` <KEY> [`-D` <KEY>=<VALUE> ...] <SOURCE> [<SOURCE> ...]<br>
`blogc` [`-h`|`-v`]
## DESCRIPTION
@@ -40,8 +41,14 @@ designed to be used with make(1).
but may be overridden by local configuration parameters set in source files.
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 support.
+
* `-t` <TEMPLATE>:
- Template file. It is a required option. See blogc-template(7) for details.
+ Template file. It is a required option, if `blogc` needs to render something.
+ See blogc-template(7) for details.
* `-o` <OUTPUT>:
Output file. If provided this option, save the compiled output to the given