aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/cli.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/cli.go b/cli/cli.go
index 84c0695..4f5417c 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -23,6 +23,7 @@ func Parse() {
flagFlushSessions := flag.Bool("flush-sessions", false, "Flush all sessions (disconnect users)")
flagCreateAdmin := flag.Bool("create-admin", false, "Create admin user")
flagResetPassword := flag.Bool("reset-password", false, "Reset user password")
+ flagResetFeedErrors := flag.Bool("reset-feed-errors", false, "Clear all feed errors for all users")
flagDebugMode := flag.Bool("debug", false, "Enable debug mode (more verbose output)")
flag.Parse()
@@ -52,6 +53,11 @@ func Parse() {
return
}
+ if *flagResetFeedErrors {
+ store.ResetFeedErrors()
+ return
+ }
+
if *flagFlushSessions {
flushSessions(store)
return