diff options
author | June McEnroe <june@causal.agency> | 2021-06-09 17:20:17 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-09 17:20:17 -0400 |
commit | 92b58f22afbf44f4b87ce9856c6fd14b1f04da37 (patch) | |
tree | 37a8be58b361221e8413ccc8af96b0f49dceed43 /archive.c | |
parent | Use LDADD variables and BINDIR (diff) | |
download | bubger-92b58f22afbf44f4b87ce9856c6fd14b1f04da37.tar.gz bubger-92b58f22afbf44f4b87ce9856c6fd14b1f04da37.zip |
Limit number of entries in index Atom feed
Diffstat (limited to '')
-rw-r--r-- | archive.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archive.c b/archive.c index f55146f..3c5f12b 100644 --- a/archive.c +++ b/archive.c @@ -96,9 +96,10 @@ int main(int argc, char *argv[]) { for ( int opt; - 0 < (opt = getopt(argc, argv, "C:H:S:T:a:h:im:p:qs:tu:vw:y:")); + 0 < (opt = getopt(argc, argv, "A:C:H:S:T:a:h:im:p:qs:tu:vw:y:")); ) { switch (opt) { + break; case 'A': concatIndexEntries = strtoul(optarg, NULL, 10); break; case 'C': { int error = chdir(optarg); if (error) err(EX_NOINPUT, "%s", optarg); |