diff --git a/src/debugpy/server/cli.py b/src/debugpy/server/cli.py index f449a218a..5014f0047 100644 --- a/src/debugpy/server/cli.py +++ b/src/debugpy/server/cli.py @@ -26,7 +26,8 @@ HELP = """debugpy {0} See https://aka.ms/debugpy for documentation. -Usage: debugpy [--listen | --connect] [
:] +Usage: debugpy --listen | --connect + [:] [--wait-for-client] [--configure- ]... [--log-to ] [--log-to-stderr] @@ -156,11 +157,11 @@ def do(arg, it): ("--log-to" , "", set_arg("log_to")), ("--log-to-stderr", None, set_const("log_to_stderr", True)), ("--listen", "
", set_address("listen")), + ("--connect", "
", set_address("connect")), ("--wait-for-client", None, set_const("wait_for_client", True)), ("--configure-.+", "", set_config), # Switches that are used internally by the client or debugpy itself. - ("--connect", "
", set_address("connect")), ("--adapter-access-token", "", set_arg("adapter_access_token")), # Targets. The "" entry corresponds to positional command line arguments,