summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-24 22:45:46 +0300
committerPaul Buetow <paul@buetow.org>2025-09-24 22:45:46 +0300
commit970b9b3754f2798f234f99c54f161acb4931b3b7 (patch)
treef8b1af179e59ab05bc749dc20892e59f382dbde7 /internal/config
parent16ce1d306f89f44974eb033056bc65c1be9a5f8a (diff)
add --stats flag
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/args.go1
-rw-r--r--internal/config/config_test.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/internal/config/args.go b/internal/config/args.go
index d1a23b9..be7353b 100644
--- a/internal/config/args.go
+++ b/internal/config/args.go
@@ -26,6 +26,7 @@ type Args struct {
GemtexterEnable bool
GeminiCapsules []string
ComposeMode bool
+ StatsOnly bool
}
func (a *Args) ParsePlatforms(platformStrs string) error {
diff --git a/internal/config/config_test.go b/internal/config/config_test.go
index 5aed307..adecc18 100644
--- a/internal/config/config_test.go
+++ b/internal/config/config_test.go
@@ -187,4 +187,4 @@ func TestIsPausedCurrentTime(t *testing.T) {
if paused {
t.Errorf("Expected not to be paused for past dates, but got true")
}
-} \ No newline at end of file
+}