Add -sort to manpage.

Fixes: #682
This commit is contained in:
Dave Davenport 2017-10-03 19:51:27 +02:00
parent 7929818be2
commit 7081b56aca
2 changed files with 23 additions and 5 deletions

View File

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "ROFI" "1" "September 2017" "" ""
.TH "ROFI" "1" "October 2017" "" ""
.
.SH "NAME"
\fBrofi\fR \- A window switcher, application launcher, ssh dialog and dmenu replacement
@ -749,10 +749,19 @@ Notes: The I3 Window manager does not like commas in the command when specifying
Disable history
.
.P
\fB\-sort\fR to enable \fB\-no\-sort\fR to disable
.
.P
Enable, disable sorting\. This setting can be changed at runtime (see \fB\-kb\-toggle\-sort\fR)\.
.
.P
\fB\-levenshtein\-sort\fR to enable \fB\-no\-levenshtein\-sort\fR to disable
.
.P
When searching, sort the result based on levenshtein distance\. This setting can be changed at runtime (see \fB\-kb\-toggle\-sort\fR)\.
When searching, always sort the result based on levenshtein distance\. If disabled, fzf sorting is used when fuzzy matching is used\. If enabled, levenshtein sorting is used event fuzzy matching is used\.
.
.P
For other matching modes sorting is always done via levenshtein\-sort\.
.
.SS "Dmenu specific"
\fB\-sep\fR \fIseparator\fR

View File

@ -332,7 +332,7 @@ This option can be specified multiple times.
Override the default DPI setting.
If set to `0`, it tries to auto-detect based on X11 screen size (similar to i3 and GTK).
If set to `1`, it tries to auto-detect based on the size of the monitor that rofi is displayed on (similar to latest Qt 5).
If set to `1`, it tries to auto-detect based on the size of the monitor that rofi is displayed on (similar to latest Qt 5).
### PATTERN setting
@ -446,11 +446,20 @@ For that case '#' can be used as a separator.
Disable history
`-sort` to enable
`-no-sort` to disable
Enable, disable sorting.
This setting can be changed at runtime (see `-kb-toggle-sort`).
`-levenshtein-sort` to enable
`-no-levenshtein-sort` to disable
When searching, sort the result based on levenshtein distance.
This setting can be changed at runtime (see `-kb-toggle-sort`).
When searching, always sort the result based on levenshtein distance.
If disabled, fzf sorting is used when fuzzy matching is used.
If enabled, levenshtein sorting is used event fuzzy matching is used.
For other matching modes sorting is always done via levenshtein-sort.
### Dmenu specific