Skip to content

Commit

Permalink
pass in description to the ArgumentParser to be a bit friendlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
codypiersall committed Aug 15, 2019
1 parent 9eb1f92 commit fc88144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pair1_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
Expand Down

0 comments on commit fc88144

Please sign in to comment.