Use the DOCSTRING instead of __doc__.
Not a big deal since betterhelp is already getting this. But it caught my eye so here we go.
This commit is contained in:
parent
73e11e0e63
commit
f9e2c16d9a
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ def simpleserver_argparse(args):
|
||||||
server.start()
|
server.start()
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser(description=__doc__)
|
parser = argparse.ArgumentParser(description=DOCSTRING)
|
||||||
|
|
||||||
parser.add_argument('port', nargs='?', type=int, default=40000)
|
parser.add_argument('port', nargs='?', type=int, default=40000)
|
||||||
parser.add_argument('--password', dest='password', default=None)
|
parser.add_argument('--password', dest='password', default=None)
|
||||||
|
|
Loading…
Reference in a new issue