add history flag

This commit is contained in:
nytpu
2021-05-19 08:07:36 -06:00
parent f9d8872260
commit c5b47f1546
2 changed files with 16 additions and 1 deletions
+1
View File
@@ -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.