saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 1ef896a903a32ef5b48d983a3cec6ef33a8707a3
parent b100a92a2e2f256febcd2c87232ca368a8b6d80a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun,  5 Jan 2020 14:09:42 +0100

improve comment and usage string

Diffstat:
Msaait.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/saait.c b/saait.c @@ -375,7 +375,7 @@ writepage(FILE *fp, const char *file, struct variable *c, char *s) void usage(void) { - fprintf(stderr, "%s [-c config] [-o outputdir] [-t templatedir] " + fprintf(stderr, "%s [-c config] [-o outputdir] [-t templatesdir] " "pages...\n", argv0); exit(1); } @@ -415,7 +415,7 @@ main(int argc, char *argv[]) /* global config */ global = readconfig(configfile); - /* load templates, must start with header., item. or footer. */ + /* load templates, must start with "header.", "item." or "footer." */ templateslen = 0; if (!(bdir = opendir(templatedir))) { fprintf(stderr, "opendir: %s: %s\n", templatedir, strerror(errno));