From e9db16c49e4eadc40f5a4ad96acbcdea133b0030 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 7 Oct 2015 23:17:28 -0300 Subject: main: man: fixed '-l' docs --- man/blogc-template.7.ronn | 7 +++++-- man/blogc.1.ronn | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/blogc-template.7.ronn b/man/blogc-template.7.ronn index d788f41..280a073 100644 --- a/man/blogc-template.7.ronn +++ b/man/blogc-template.7.ronn @@ -39,7 +39,7 @@ This is how an `entry` block is defined: ### listing block The content of a `listing` block is included in the output file when blogc(1) -is called with `-l` option, and with one or more source files. It is used +is called with `-l` option, and with zero or more source files. It is used to create a listing of entries, and its content will be included once for each given source file (in the order that the source files were provided to blogc(1)). All the variables defined in the source files are available @@ -57,11 +57,14 @@ This is how a `listing` block is defined: ### listing_once block The content of a `listing_once` block is included in the output file when -blogc(1) is called with `-l` option, and with one or more source files. It is +blogc(1) is called with `-l` option, and with zero or more source files. It is like a `listing` block, but is only called once, and does not have access to the local variables defined in the source files. It is useful to add something before an entry listing. +The content of a `listing_once` block is included even if no source file is +provided. + This is how a `listing_once` block is defined: {% block listing_once %} diff --git a/man/blogc.1.ronn b/man/blogc.1.ronn index 082eeff..7ee617f 100644 --- a/man/blogc.1.ronn +++ b/man/blogc.1.ronn @@ -4,8 +4,8 @@ blogc(1) -- a blog compiler ## SYNOPSIS `blogc` [`-D` = ...] `-t`