summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
-rw-r--r--ranger/defaults/commands.py9
2 files changed, 9 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 080d4b86..be989b18 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -812,7 +812,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 				write(cleandoc(cmd.__doc__))
 			else:
 				write(":%s - No documentation available." % cmd.get_name())
-			write("\n\n" + "=" * 60 + "\n")
+			write("\n\n" + "-" * 60 + "\n")
 
 		temporary_file.flush()
 		self.run(app='pager', files=[File(temporary_file.name)])
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index d046d5a6..29c086f8 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -814,7 +814,14 @@ class help_(Command):
 	"""
 	name = 'help'
 	def execute(self):
-		self.fm.display_help()
+		if self.quantifier == 1:
+			self.fm.dump_keybindings()
+		elif self.quantifier == 2:
+			self.fm.dump_commands()
+		elif self.quantifier == 3:
+			self.fm.dump_settings()
+		else:
+			self.fm.display_help()
 
 
 class copymap(Command):