diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-04 01:09:48 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-04 01:09:48 +0530 |
commit | 7473964721c349a7f41c6fcd48df14d570cee676 (patch) | |
tree | fcd0007b4688009f4635d1472393b60f11d309b1 /cmd/score.go | |
parent | e143dc8955de158365e193882cb1b881abaa2d94 (diff) |
added --search-nsfw flag to search nsfw titles
Diffstat (limited to 'cmd/score.go')
-rw-r--r-- | cmd/score.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/score.go b/cmd/score.go index b9e87a4..c69a12a 100644 --- a/cmd/score.go +++ b/cmd/score.go @@ -148,6 +148,7 @@ func init() { scoreCmd.PersistentFlags().IntVarP(&ui.PromptLength, "prompt-length", "l", 5, "Length of select prompt") scoreCmd.PersistentFlags().IntVarP(&mal.SearchLength, "search-length", "n", 10, "Amount of search results to load") scoreCmd.PersistentFlags().IntVarP(&mal.SearchOffset, "search-offset", "o", 0, "Offset for the search results") + scoreCmd.PersistentFlags().BoolVarP(&mal.SearchNSFW, "search-nsfw", "", false, "Include NSFW-rated items in search results") scoreCmd.PersistentFlags().BoolVarP(&mangaMode, "manga", "m", false, "Use manga mode") scoreCmd.PersistentFlags().BoolVarP(&queryOnlyMode, "query", "q", false, "Query only (don't update data)") } |