Skip to content

Commit

Permalink
Release 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bensadeh committed Jun 17, 2023
1 parent ca9db4b commit 580cefa
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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_

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package app

const (
Name = "circumflex"
Version = "3.1"
Version = "3.1.1"
MinimumLessVersion = 633
)
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion share/asciidoctor/clx.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions share/man/clx.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 580cefa

Please sign in to comment.