aboutsummaryrefslogtreecommitdiff
path: root/cmd/chapters.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/chapters.go')
-rw-r--r--cmd/chapters.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/chapters.go b/cmd/chapters.go
index aa91a85..3107a20 100644
--- a/cmd/chapters.go
+++ b/cmd/chapters.go
@@ -88,5 +88,6 @@ func init() {
chaptersCmd.PersistentFlags().IntVarP(&ui.PromptLength, "prompt-length", "l", 5, "Length of select prompt")
chaptersCmd.PersistentFlags().IntVarP(&mal.SearchLength, "search-length", "n", 10, "Amount of search results to load")
chaptersCmd.PersistentFlags().IntVarP(&mal.SearchOffset, "search-offset", "o", 0, "Offset for the search results")
+ chaptersCmd.PersistentFlags().BoolVarP(&mal.SearchNSFW, "search-nsfw", "", false, "Include NSFW-rated items in search results")
chaptersCmd.PersistentFlags().BoolVarP(&queryOnlyMode, "query", "q", false, "Query only (don't update data)")
}