diff --git a/CHANGELOG.md b/CHANGELOG.md index 68ed1e68..4464462d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.1.1 +_17.06.23_ + +**Bugfixes** +- Fixed a bug where the wrong default string would be set in the `categories` flag + + ## 3.1 _17.06.23_ diff --git a/README.md b/README.md index 87ff2ccc..3ec8ea43 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,8 @@ clear Clear the history of visited IDs -a, --auto-expand Automatically expand all replies upon entering the comment section --categories=[string] Set the categories in the header - (available: "top,newest,ask,show,best") - (default: "top,newest,ask,show") + (available: "top,new,ask,show,best") + (default: "top,new,ask,show") -c, --comment-width=[int] Set the comment width (default 70) -e, --disable-emojis Disable conversion of smileys to emojis diff --git a/app/app.go b/app/app.go index 28d6c6b1..54d4212c 100644 --- a/app/app.go +++ b/app/app.go @@ -2,6 +2,6 @@ package app const ( Name = "circumflex" - Version = "3.1" + Version = "3.1.1" MinimumLessVersion = 633 ) diff --git a/cmd/root.go b/cmd/root.go index fd39dd46..53b60a32 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -87,7 +87,7 @@ func configureFlags(rootCmd *cobra.Command) { "automatically expand all replies upon entering the comment section") rootCmd.PersistentFlags().BoolVar(&noLessVerify, "no-less-verify", false, "disable checking less version on startup") - rootCmd.PersistentFlags().StringVar(&selectedCategories, "categories", "frontpage,newest,ask,show", + rootCmd.PersistentFlags().StringVar(&selectedCategories, "categories", "top,new,ask,show", "set the categories in the header") rootCmd.PersistentFlags().BoolVarP(&debugMode, "debug-mode", "q", false, diff --git a/share/asciidoctor/clx.adoc b/share/asciidoctor/clx.adoc index 60cb59ab..07f65520 100644 --- a/share/asciidoctor/clx.adoc +++ b/share/asciidoctor/clx.adoc @@ -124,7 +124,7 @@ Do not verify *less* version on startup *--categories*:: Set the categories in the header. Choose between top, new, best, ask and show. First category will be treated as the default one. Separate categories with comma. -Default value: "frontpage,newest,ask,show" +Default value: "top,new,ask,show" == Favorites diff --git a/share/man/clx.1 b/share/man/clx.1 index 07962434..04fcc7e1 100644 --- a/share/man/clx.1 +++ b/share/man/clx.1 @@ -4,10 +4,10 @@ .\" Generator: Asciidoctor 2.0.20 .\" Date: 2023-06-17 .\" Manual: circumflex -.\" Source: circumflex 3.1 +.\" Source: circumflex 3.1.1 .\" Language: English .\" -.TH "CLX" "1" "2023-06-17" "circumflex 3.1" "circumflex" +.TH "CLX" "1" "2023-06-17" "circumflex 3.1.1" "circumflex" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -189,7 +189,7 @@ Do not verify \fBless\fP version on startup .RS 4 Set the categories in the header. Choose between top, new, best, ask and show. First category will be treated as the default one. Separate categories with comma. -Default value: "frontpage,newest,ask,show" +Default value: "top,new,ask,show" .RE .SH "FAVORITES" .sp