pytest: clean up test_gossip_notices_close now that gossipwith has more options.

And drive-by fix: document that you can now (since
e40f07803c) use --max-messages=0.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-11-06 12:46:09 +10:30
parent 30634aa837
commit 40d34fed9e
2 changed files with 8 additions and 12 deletions

View File

@@ -221,7 +221,7 @@ int main(int argc, char *argv[])
"Stream complete gossip history at start");
opt_register_arg("--max-messages", opt_set_ulongval, opt_show_ulongval,
&max_messages,
"Terminate after reading this many messages (> 0)");
"Terminate after reading this many messages");
opt_register_noarg("--stdin", opt_set_bool, &stream_stdin,
"Stream gossip messages from stdin.");
opt_register_noarg("--no-init", opt_set_bool, &no_init,