From fc8814489095892315b98a4f733a6745aabbcba9 Mon Sep 17 00:00:00 2001 From: Cody Piersall Date: Wed, 14 Aug 2019 20:26:23 -0500 Subject: [PATCH] pass in description to the ArgumentParser to be a bit friendlier. --- examples/pair1_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pair1_async.py b/examples/pair1_async.py index 128ebd2..b14dfa4 100644 --- a/examples/pair1_async.py +++ b/examples/pair1_async.py @@ -52,7 +52,7 @@ async def recv_eternally(sock): async def main(): - p = argparse.ArgumentParser() + p = argparse.ArgumentParser(description=__doc__) p.add_argument( 'mode', help='Whether the socket should "listen" or "dial"',