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:
Mark E. Haase 2011-12-28 16:47:30 -05:00
parent 28fd3bd461
commit 965d318164
2 changed files with 4 additions and 4 deletions

View File

@ -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\")

View File

@ -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)])