summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/ranger.16
-rw-r--r--doc/ranger.pod4
-rw-r--r--ranger/container/settingobject.py2
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index e0be02ef..15918188 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -642,10 +642,10 @@ is reset when you restart ranger.
 .IP "scroll_offset [integer]" 4
 .IX Item "scroll_offset [integer]"
 Try to keep this much space between the top/bottom border when scrolling.
-.IP "shorten_title [integer, bool]" 4
-.IX Item "shorten_title [integer, bool]"
+.IP "shorten_title [integer]" 4
+.IX Item "shorten_title [integer]"
 Trim the title of the window if it gets long?  The number defines how many
-directories are displayed at once, False turns off this feature.
+directories are displayed at once. A value of 0 turns off this feature.
 .IP "show_cursor [bool]" 4
 .IX Item "show_cursor [bool]"
 Always show the terminal cursor?
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 50c7b7c1..c7c481b6 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -627,10 +627,10 @@ is reset when you restart ranger.
 
 Try to keep this much space between the top/bottom border when scrolling.
 
-=item shorten_title [integer, bool]
+=item shorten_title [integer]
 
 Trim the title of the window if it gets long?  The number defines how many
-directories are displayed at once, False turns off this feature.
+directories are displayed at once. A value of 0 turns off this feature.
 
 =item show_cursor [bool]
 
diff --git a/ranger/container/settingobject.py b/ranger/container/settingobject.py
index 28f1c639..76ab7fc4 100644
--- a/ranger/container/settingobject.py
+++ b/ranger/container/settingobject.py
@@ -33,7 +33,7 @@ ALLOWED_SETTINGS = {
     'preview_script': (str, type(None)),
     'save_console_history': bool,
     'scroll_offset': int,
-    'shorten_title': int,  # XXX Note: False is an instance of int
+    'shorten_title': int,
     'show_cursor': bool,
     'show_hidden_bookmarks': bool,
     'show_hidden': bool,