From efb55a6332fa74c68f582f37cbc09ebebeecf93f Mon Sep 17 00:00:00 2001 From: Charlotte Weaver Date: Fri, 19 Oct 2018 15:26:19 -0700 Subject: [PATCH] Renaming bind-all option to listen-all (#353) See discussion here https://docs.google.com/document/d/1tcAvODhdlUUAOJPHoGQB3fWOPmnw3XjK7MVhDRwNUnk/edit# --- server/app/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app/app.py b/server/app/app.py index 7c73f1ce..56d190be 100644 --- a/server/app/app.py +++ b/server/app/app.py @@ -58,7 +58,7 @@ def run_scanpy(args): from .scanpy_engine.scanpy_engine import ScanpyEngine app.data = ScanpyEngine(args.data_directory, layout_method=args.layout, diffexp_method=args.diffexp) - if args.bind_all: + if args.listen_all: host = "0.0.0.0" else: host = "127.0.0.1" @@ -75,7 +75,7 @@ def main(): parser.add_argument("--flask-debug", action="store_true", help=argparse.SUPPRESS) parser.add_argument("--no-open", help="Do not launch the webbrowser.", action="store_false", dest="open_browser") parser.add_argument( - "--bind-all", + "--listen-all", help="Bind to all interfaces (this makes the server accessible beyond this computer)", action="store_true") subparsers = parser.add_subparsers(dest="engine")