diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-22 17:12:51 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-22 20:51:49 +0200 |
commit | dcab5eb11b8b018bb296475c24e5716a2ac415ca (patch) | |
tree | 0938744c93141b6833a09dfb967c40b9b8b80a84 /doc | |
parent | d57fe79f5f568113f97392c91087702bddf0fec3 (diff) | |
download | qutebrowser-dcab5eb11b8b018bb296475c24e5716a2ac415ca.tar.gz qutebrowser-dcab5eb11b8b018bb296475c24e5716a2ac415ca.zip |
src2asciidoc: Make sure usage lines are generated with fixed width
Due to a change in Python 3.8, the output depended on the calling terminal's
width. Set a fixed with of 200 (rather than 80) so that we always have the
expanded version for the generated documentation.
See #5393 and
https://github.com/python/cpython/commit/74102c9a5f2327c4fc47feefa072854a53551d1f#diff-837b312b1f3508216ace6adb46492836
Diffstat (limited to 'doc')
-rw-r--r-- | doc/help/commands.asciidoc | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 565b87ac8..3266c7153 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -285,8 +285,7 @@ Set all settings back to their default. [[config-cycle]] === config-cycle -Syntax: +:config-cycle [*--pattern* 'pattern'] [*--temp*] [*--print*] - 'option' ['values' ['values' ...]]+ +Syntax: +:config-cycle [*--pattern* 'pattern'] [*--temp*] [*--print*] 'option' ['values' ['values' ...]]+ Cycle an option between multiple values. @@ -597,8 +596,7 @@ Show help about a command or setting. [[hint]] === hint -Syntax: +:hint [*--mode* 'mode'] [*--add-history*] [*--rapid*] [*--first*] - ['group'] ['target'] ['args' ['args' ...]]+ +Syntax: +:hint [*--mode* 'mode'] [*--add-history*] [*--rapid*] [*--first*] ['group'] ['target'] ['args' ['args' ...]]+ Start hinting. @@ -855,8 +853,7 @@ Do nothing. [[open]] === open -Syntax: +:open [*--related*] [*--bg*] [*--tab*] [*--window*] [*--secure*] [*--private*] - ['url']+ +Syntax: +:open [*--related*] [*--bg*] [*--tab*] [*--window*] [*--secure*] [*--private*] ['url']+ Open a URL in the current/[count]th tab. @@ -1186,9 +1183,7 @@ Load a session. [[session-save]] === session-save -Syntax: +:session-save [*--current*] [*--quiet*] [*--force*] [*--only-active-window*] - [*--with-private*] - ['name']+ +Syntax: +:session-save [*--current*] [*--quiet*] [*--force*] [*--only-active-window*] [*--with-private*] ['name']+ Save a session. @@ -1252,9 +1247,7 @@ Set a mark at the current scroll position in the current tab. [[spawn]] === spawn -Syntax: +:spawn [*--userscript*] [*--verbose*] [*--output*] [*--output-messages*] - [*--detach*] - 'cmdline'+ +Syntax: +:spawn [*--userscript*] [*--verbose*] [*--output*] [*--output-messages*] [*--detach*] 'cmdline'+ Spawn an external command. |