summaryrefslogtreecommitdiff
path: root/flags.go
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-05-19 08:07:36 -0600
committernytpu <alex@nytpu.com>2021-05-19 08:07:36 -0600
commitc5b47f15465cfbd0d7e02008374a5e78a6c51d51 (patch)
tree585a2740ade92a63f944990d079aa24d9d6aa96c /flags.go
parentf9d88722606e5c2570fe4237a64b5a1b22bf1789 (diff)
add history flag
Diffstat (limited to 'flags.go')
-rw-r--r--flags.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/flags.go b/flags.go
index b634a41..11f3051 100644
--- a/flags.go
+++ b/flags.go
@@ -12,6 +12,7 @@ var (
dataFlag = globalFs.StringP("data", "d", "", "The data directory where comitium will store its files")
langFlag = globalFs.StringP("lang", "l", "en-US", "The language that comitium will use when outputting its files")
+ histFlag = globalFs.IntP("history", "h", 31, "The number of days of article history to display on feed.gmi")
)
// command holds fields used for printing information about a command.