Skip to content

Commit

Permalink
Fix CLI help/usage text.
Browse files Browse the repository at this point in the history
  • Loading branch information
int19h committed Apr 15, 2020
1 parent 2f21b08 commit ade162b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/debugpy/server/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
HELP = """debugpy {0}
See https://aka.ms/debugpy for documentation.
Usage: debugpy [--listen | --connect] [<address>:]<port>
Usage: debugpy --listen | --connect
[<host>:]<port>
[--wait-for-client]
[--configure-<name> <value>]...
[--log-to <path>] [--log-to-stderr]
Expand Down Expand Up @@ -156,11 +157,11 @@ def do(arg, it):
("--log-to" , "<path>", set_arg("log_to")),
("--log-to-stderr", None, set_const("log_to_stderr", True)),
("--listen", "<address>", set_address("listen")),
("--connect", "<address>", set_address("connect")),
("--wait-for-client", None, set_const("wait_for_client", True)),
("--configure-.+", "<value>", set_config),

# Switches that are used internally by the client or debugpy itself.
("--connect", "<address>", set_address("connect")),
("--adapter-access-token", "<token>", set_arg("adapter_access_token")),

# Targets. The "" entry corresponds to positional command line arguments,
Expand Down

0 comments on commit ade162b

Please sign in to comment.