Check-in by ben on 2025-11-12 15:44:53
Change meaning of "--download 0" option to mean "no tarballs",
except tip.
INSERTED DELETED
3 3 coprolit.awk
2 2 readme.txt
5 5 TOTAL over 2 changed files
Index: coprolit.awk
==================================================================
--- coprolit.awk
+++ coprolit.awk
@@ -144,11 +144,11 @@
has_downloads = 0
parents = 0
if (is_checkin) {
- if (_download_count < _download_max || _download_max == 0) {
+ if (_download_count < _download_max) {
has_downloads = 1
_download_count++
# export tarball
m++
@@ -977,18 +977,18 @@
print "ROOT = Gopher root selector"
print ""
print "Options:"
print "--dir (default: output)"
print "--download (default: 5)"
- print " limit number of tarballs per section"
+ print " limit number of tarballs per section, 0 = none"
print "--format (geomyidae | gopher)"
print "--port portnum"
print "--server hostname"
print "--timeline (default: 100)"
- print " limit number of items in timeline"
+ print " limit number of items in timeline, 0 = unlimited"
print ""
return
}
BEGIN {
main()
}
Index: readme.txt
==================================================================
--- readme.txt
+++ readme.txt
@@ -21,11 +21,11 @@
ROOT = Gopher root selector
Options:
--dir (default: output)
--download (default: 5)
- limit number of tarballs per section
+ limit number of tarballs per section, 0 = none
--format (geomyidae | gopher)
--port portnum
--server hostname
--timeline (default: 100)
- limit number of items in timeline
+ limit number of items in timeline, 0 = unlimited