summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Chimishuk <vchimishuk@yandex.ru>2018-09-28 12:09:47 +0300
committerViacheslav Chimishuk <vchimishuk@yandex.ru>2018-09-28 12:09:47 +0300
commit003e007ace8dbf265e80bbb678f656e58d298ef2 (patch)
treeb88eeef545440f7a2b70338dc77f0091e53a37c8
parent232574212d9a2448ccdf5109ce65e32e9a013609 (diff)
downloadqutebrowser-003e007ace8dbf265e80bbb678f656e58d298ef2.tar.gz
qutebrowser-003e007ace8dbf265e80bbb678f656e58d298ef2.zip
Improve functions' documentation.
-rw-r--r--qutebrowser/browser/commands.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py
index 3d7746e73..717d4df3f 100644
--- a/qutebrowser/browser/commands.py
+++ b/qutebrowser/browser/commands.py
@@ -870,13 +870,13 @@ class CommandDispatcher:
@cmdutils.register(instance='command-dispatcher', scope='window')
@cmdutils.argument('count', count=True)
- @cmdutils.argument('quiet', flag='q')
+ @cmdutils.argument('quiet')
def zoom_in(self, count=1, quiet=False):
"""Increase the zoom level for the current tab.
Args:
count: How many steps to zoom in.
- quiet: Don't show information message with result.
+ quiet: Don't show a zoom level message.
"""
tab = self._current_widget()
try:
@@ -888,13 +888,13 @@ class CommandDispatcher:
@cmdutils.register(instance='command-dispatcher', scope='window')
@cmdutils.argument('count', count=True)
- @cmdutils.argument('quiet', flag='q')
+ @cmdutils.argument('quiet')
def zoom_out(self, count=1, quiet=False):
"""Decrease the zoom level for the current tab.
Args:
count: How many steps to zoom out.
- quiet: Don't show information message with result.
+ quiet: Don't show a zoom level message.
"""
tab = self._current_widget()
try:
@@ -906,7 +906,7 @@ class CommandDispatcher:
@cmdutils.register(instance='command-dispatcher', scope='window')
@cmdutils.argument('count', count=True)
- @cmdutils.argument('quiet', flag='q')
+ @cmdutils.argument('quiet')
def zoom(self, zoom=None, count=None, quiet=False):
"""Set the zoom level for the current tab.
@@ -917,7 +917,7 @@ class CommandDispatcher:
Args:
zoom: The zoom percentage to set.
count: The zoom percentage to set.
- quiet: Don't show information message with result.
+ quiet: Don't show a zoom level message.
"""
if zoom is not None:
try: