summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2019-09-09 17:43:51 +0200
committerhut <hut@hut.pm>2019-09-10 00:00:25 +0200
commit02198a6d5e0ecefa30ca4f6c5734276528b36dd7 (patch)
treed592963d567f1d421ee299787c17b68c7d5cbabc /ranger
parent71bcac6c9a7e3823644094cb39685da9fe24dc01 (diff)
downloadranger-02198a6d5e0ecefa30ca4f6c5734276528b36dd7.tar.gz
Correct the description of 'quit'
Quit closes a tab only when there is more than one tab;
otherwise, it quits the program.

Also fix a typo.
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/config/commands.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 2b1f4940..55dd9cd1 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -572,7 +572,7 @@ class default_linemode(Command):
 class quit(Command):  # pylint: disable=redefined-builtin
     """:quit
 
-    Closes the current tab, if there's only one tab.
+    Closes the current tab, if there's more than one tab.
     Otherwise quits if there are no tasks in progress.
     """
     def _exit_no_work(self):
@@ -591,7 +591,7 @@ class quit(Command):  # pylint: disable=redefined-builtin
 class quit_bang(Command):
     """:quit!
 
-    Closes the current tab, if there's only one tab.
+    Closes the current tab, if there's more than one tab.
     Otherwise force quits immediately.
     """
     name = 'quit!'
@@ -1244,7 +1244,7 @@ class copycmap(copymap):
 
 
 class copytmap(copymap):
-    """:copycmap <keys> <newkeys1> [<newkeys2>...]
+    """:copytmap <keys> <newkeys1> [<newkeys2>...]
 
     Copies a "taskview" keybinding from <keys> to <newkeys>
     """