dag

Djmoch's Auto Generator
git clone git://git.danielmoch.com/dag.git
Log | Files | Refs | README | LICENSE

commit 6df0c4c09aee0623d4949b14555c0168b65d268b
parent b67d8bed11c6eb60b516123176dc30a787144382
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 17 Sep 2022 20:50:53 -0400

dagindex: Document -x flag

Diffstat:
MREADME | 4++--
Mdagindex.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -8,8 +8,8 @@ directory. Before reaching their destination, files are filtered according to the rules declared in a file (default: Dagfile) in the working directory. -uage: %dagindex-Vh\ - dagindex -A -t title -s slug -p date_published [-a author] +usage: %dagindex-Vh + dagindex -A [-x] -t title -s slug -p date_published [-a author] [-u date_updated] [-c category] [-d description] dagindex -G -o fmt [-t title] [-f fqdn] [-d description] [-r rss_url] [-l language] [-c copyright] diff --git a/dagindex.c b/dagindex.c @@ -46,7 +46,7 @@ usage(int rv) } fprintf(fp, "usage: %s -Vh\n", argv0); - fprintf(fp, "\t%s -A -t title -s slug -p date_published [-a author]\n", argv0); + fprintf(fp, "\t%s -A [-x] -t title -s slug -p date_published [-a author]\n", argv0); fprintf(fp, "\t\t[-u date_updated] [-c category] [-d description]\n"); fprintf(fp, "\t\t[-x sitemap_only]\n"); fprintf(fp, "\t%s -G -o fmt [-t title] [-f fqdn] [-d description]\n", argv0);