diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |