diff --git a/cista/__main__.py b/cista/__main__.py index e397ca1..490f2da 100644 --- a/cista/__main__.py +++ b/cista/__main__.py @@ -61,10 +61,12 @@ doc = """\ Usage: cista [-c ] [-l ] [--import-droppy] [--dev] [] cista [-c ] --user [--privileged] [--password] + cista --version Options: -c CONFDIR Custom config directory - -l LISTEN-ADDR Listen on + -l, --listen LISTEN-ADDR + Listen on :8989 (localhost port, plain http) :3000 (bind another address, port) /path/to/unix.sock (unix socket) @@ -117,7 +119,7 @@ def _main(): args = docopt(doc) if args["--user"]: return _user(args) - listen = args["-l"] + listen = args["--listen"] # Validate arguments first if args[""]: path = Path(args[""]).resolve()