make usage exactly the same as in the man page saait.1 - saait - the most borin… | |
git clone git://git.codemadness.org/saait | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 88d494680432fbd4166b0a24226efd310aeb85e5 | |
parent 366a61fa0a047dc2cbf70b4f0d6da0008bb846ee | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Mon, 6 Jan 2020 00:40:37 +0100 | |
make usage exactly the same as in the man page saait.1 | |
+ a minor white-space fix. | |
Diffstat: | |
M saait.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/saait.c b/saait.c | |
@@ -379,7 +379,7 @@ writepage(FILE *fp, const char *name, const char *forname, | |
void | |
usage(void) | |
{ | |
- fprintf(stderr, "%s [-c config] [-o outputdir] [-t templatesdir] " | |
+ fprintf(stderr, "%s [-c configfile] [-o outputdir] [-t templatesdir] " | |
"pages...\n", argv0); | |
exit(1); | |
} | |
@@ -419,7 +419,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(err… |