From 7473964721c349a7f41c6fcd48df14d570cee676 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 4 Jul 2022 01:09:48 +0530 Subject: added --search-nsfw flag to search nsfw titles --- cmd/status.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/status.go') diff --git a/cmd/status.go b/cmd/status.go index 3dc056f..e828219 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -127,6 +127,7 @@ func init() { statusCmd.PersistentFlags().IntVarP(&ui.PromptLength, "prompt-length", "l", 5, "Length of select prompt") statusCmd.PersistentFlags().IntVarP(&mal.SearchLength, "search-length", "n", 10, "Amount of search results to load") statusCmd.PersistentFlags().IntVarP(&mal.SearchOffset, "search-offset", "o", 0, "Offset for the search results") + statusCmd.PersistentFlags().BoolVarP(&mal.SearchNSFW, "search-nsfw", "", false, "Include NSFW-rated items in search results") statusCmd.PersistentFlags().BoolVarP(&mangaMode, "manga", "m", false, "Use manga mode") statusCmd.PersistentFlags().BoolVarP(&queryOnlyMode, "query", "q", false, "Query only (don't update data)") } -- cgit v1.2.3