summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2018-09-08 14:37:46 +0200
committertoonn <toonn@toonn.io>2018-09-08 14:37:46 +0200
commitd9a8bb1cea1f42f694ef65877db73e1d80409846 (patch)
treea4a78c725073f2c2330668e8cea10db20f23a09e
parentd0afe4be708708d66d6505cbf10b271b0759bda2 (diff)
downloadranger-d9a8bb1cea1f42f694ef65877db73e1d80409846.tar.gz
Fix documentation
Remove a setting that no longer exists from the man page. Reformat the comment in `rc.conf`. Use lower case `'none'` for consistency
-rw-r--r--doc/ranger.131
-rw-r--r--doc/ranger.pod4
-rw-r--r--ranger/config/rc.conf5
-rw-r--r--ranger/container/settings.py2
4 files changed, 21 insertions, 21 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 21665bbf..052f06e9 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32)
+.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -54,16 +54,20 @@
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
-.if !\nF .nr F 0
-.if \nF>0 \{\
-. de IX
-. tm Index:\\$1\t\\n%\t"\\$2"
+.nr rF 0
+.if \n(.g .if rF .nr rF 1
+.if (\n(rF:(\n(.g==0)) \{\
+. if \nF \{\
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
..
-. if !\nF==2 \{\
-. nr % 0
-. nr F 2
+. if !\nF==2 \{\
+. nr % 0
+. nr F 2
+. \}
. \}
.\}
+.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
@@ -129,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "RANGER 1"
-.TH RANGER 1 "ranger-1.9.0b6" "01/04/2018" "ranger manual"
+.TH RANGER 1 "ranger-1.9.0b6" "2018-09-08" "ranger manual"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -169,7 +173,7 @@ plugins, sample configuration files and some programs for integrating ranger
with other software. They are usually installed to
\&\fI/usr/share/doc/ranger/examples\fR.
.PP
-The man page of \fIrifle\fR\|(1) describes the functions of the file opener
+The man page of \fBrifle\fR\|(1) describes the functions of the file opener
.PP
The section \fI\s-1LINKS\s0\fR of this man page contains further resources.
.SH "OPTIONS"
@@ -599,7 +603,7 @@ Toggle the mark-status of all files
.IP "V" 14
.IX Item "V"
Starts the visual mode, which selects all files between the starting point and
-the cursor until you press \s-1ESC. \s0 To unselect files in the same way, use \*(L"uV\*(R".
+the cursor until you press \s-1ESC.\s0 To unselect files in the same way, use \*(L"uV\*(R".
.IP "/" 14
Search for files in the current directory.
.IP ":" 14
@@ -776,9 +780,6 @@ Draw borders around or between the columns? Possible values are:
\& separators draw only vertical lines between columns
\& both both of the above
.Ve
-.IP "draw_separators [bool]" 4
-.IX Item "draw_separators [bool]"
-Draw vertical separators between columns?
.IP "draw_progress_bar_in_status_bar [bool]" 4
.IX Item "draw_progress_bar_in_status_bar [bool]"
Draw a progress bar in the status bar which displays the average state of all
@@ -1524,7 +1525,7 @@ copy, run:
.Ve
.SH "SEE ALSO"
.IX Header "SEE ALSO"
-\&\fIrifle\fR\|(1)
+\&\fBrifle\fR\|(1)
.SH "BUGS"
.IX Header "BUGS"
Report bugs here: <https://github.com/ranger/ranger/issues>
diff --git a/doc/ranger.pod b/doc/ranger.pod
index c54b6dfb..ff042fc7 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -764,10 +764,6 @@ Draw borders around or between the columns? Possible values are:
separators draw only vertical lines between columns
both both of the above
-=item draw_separators [bool]
-
-Draw vertical separators between columns?
-
=item draw_progress_bar_in_status_bar [bool]
Draw a progress bar in the status bar which displays the average state of all
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 3fd46d38..cd0ac45b 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -123,7 +123,10 @@ set status_bar_on_top false
# currently running tasks which support progress bars?
set draw_progress_bar_in_status_bar true
-# Draw borders around columns? (separators, outline, both, or none. Separators are vertical lines between columsn. Outline draws a box around all the columns. Both combines the two)
+# Draw borders around columns? (separators, outline, both, or none)
+# Separators are vertical lines between columns.
+# Outline draws a box around all the columns.
+# Both combines the two.
set draw_borders none
# Display the directory name in tabs?
diff --git a/ranger/container/settings.py b/ranger/container/settings.py
index f07c85a6..3e742926 100644
--- a/ranger/container/settings.py
+++ b/ranger/container/settings.py
@@ -96,7 +96,7 @@ ALLOWED_SETTINGS = {
ALLOWED_VALUES = {
'cd_tab_case': ['sensitive', 'insensitive', 'smart'],
'confirm_on_delete': ['multiple', 'always', 'never'],
- 'draw_borders': ['None', 'both', 'outline', 'separators'],
+ 'draw_borders': ['none', 'both', 'outline', 'separators'],
'line_numbers': ['false', 'absolute', 'relative'],
'one_indexed': [False, True],
'preview_images_method': ['w3m', 'iterm2', 'urxvt', 'urxvt-full'],