Help docs have ~r as an example but ~r isn't valid. I think it's supposed to be ~q.
This commit is contained in:
parent
28fd3bd461
commit
965d318164
|
@ -26,9 +26,9 @@ URL containing "google.com":
|
|||
|
||||
Requests whose body contains the string "test":
|
||||
|
||||
~r ~b test
|
||||
~q ~b test
|
||||
|
||||
Anything but requests with a text/html content type:
|
||||
|
||||
!(~r & ~t \"text/html\")
|
||||
!(~q & ~t \"text/html\")
|
||||
|
||||
|
|
|
@ -1499,8 +1499,8 @@ class ConsoleMaster(flow.FlowMaster):
|
|||
)
|
||||
examples = [
|
||||
("google\.com", "Url containing \"google.com"),
|
||||
("~r ~b test", "Requests where body contains \"test\""),
|
||||
("!(~r & ~t \"text/html\")", "Anything but requests with a text/html content type."),
|
||||
("~q ~b test", "Requests where body contains \"test\""),
|
||||
("!(~q & ~t \"text/html\")", "Anything but requests with a text/html content type."),
|
||||
]
|
||||
text.extend(format_keyvals(examples, key="key", val="text", indent=4))
|
||||
return urwid.ListBox([urwid.Text(text)])
|
||||
|
|
Loading…
Reference in New Issue