From 2a49dbe8177407e0e3f33a642c56a9fe51e60111 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 30 May 2016 16:42:53 +0200 Subject: [PATCH] Fix handling of cmd.no_cmd_split for docs --- doc/help/commands.asciidoc | 9 --------- scripts/dev/src2asciidoc.py | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 202ba3b3e..91567197b 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -128,7 +128,6 @@ Delete a bookmark. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[bookmark-load]] === bookmark-load @@ -146,7 +145,6 @@ Load a bookmark. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[buffer]] === buffer @@ -357,7 +355,6 @@ Start hinting. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[home]] === home @@ -468,7 +465,6 @@ The tab index to open the URL in. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[paste]] === paste @@ -517,7 +513,6 @@ Delete a quickmark. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[quickmark-load]] === quickmark-load @@ -535,7 +530,6 @@ Load a quickmark. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[quickmark-save]] === quickmark-save @@ -603,7 +597,6 @@ Search for a text on the current page. With no text, clear results. ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[session-delete]] === session-delete @@ -682,7 +675,6 @@ You can use the `{url}` and `{url:pretty}` variables here which will get replace ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[set-mark]] === set-mark @@ -716,7 +708,6 @@ Note the `{url}` and `{url:pretty}` variables might be useful here. `{url}` gets ==== note * This command does not split arguments after the last argument and handles quotes literally. -* With this command, +;;+ is interpreted literally instead of splitting off a second command. [[stop]] === stop diff --git a/scripts/dev/src2asciidoc.py b/scripts/dev/src2asciidoc.py index 6f8037cb9..6316e0517 100755 --- a/scripts/dev/src2asciidoc.py +++ b/scripts/dev/src2asciidoc.py @@ -245,7 +245,7 @@ def _get_command_doc_notes(cmd): if cmd.maxsplit is not None: yield ("* This command does not split arguments after the last " "argument and handles quotes literally.") - if cmd.no_cmd_split is not None: + if cmd.no_cmd_split: yield ("* With this command, +;;+ is interpreted literally " "instead of splitting off a second command.")