improve comment and usage string - saait - the most boring static page generator
(HTM) git clone git://git.codemadness.org/saait
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1ef896a903a32ef5b48d983a3cec6ef33a8707a3
(DIR) parent b100a92a2e2f256febcd2c87232ca368a8b6d80a
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 5 Jan 2020 14:09:42 +0100
improve comment and usage string
Diffstat:
M saait.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) 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));