diff --git a/src/ptvsd/__main__.py b/src/ptvsd/__main__.py index 1d384241..926ce1a6 100644 --- a/src/ptvsd/__main__.py +++ b/src/ptvsd/__main__.py @@ -134,30 +134,34 @@ def set_nodebug(arg, it): switches = [ + # fmt: off + # Switch Placeholder Action Required # ====== =========== ====== ======== # Switches that are documented for use by end users. - (('-?', '-h', '--help'), None, print_help_and_exit, False), - (('-V', '--version'), None, print_version_and_exit, False), - ('--host', '
', set_arg('host', string), True), - ('--port', '', set_arg('port', port), False), - ('--wait', None, set_true('wait'), False), - ('--multiprocess', None, set_true('multiprocess'), False), - ('--log-dir', '', set_arg('log_dir', string), False), + (('-?', '-h', '--help'), None, print_help_and_exit, False), + (('-V', '--version'), None, print_version_and_exit, False), + ('--host', '
', set_arg('host', string), True), + ('--port', '', set_arg('port', port), False), + ('--wait', None, set_true('wait'), False), + ('--multiprocess', None, set_true('multiprocess'), False), + ('--log-dir', '', set_arg('log_dir', string), False), # Switches that are used internally by the IDE or ptvsd itself. - ('--nodebug', None, set_nodebug, False), - ('--client', None, set_true('client'), False), - ('--subprocess-of', '', set_arg('subprocess_of', pid), False), - ('--subprocess-notify', '', set_arg('subprocess_notify', port), False), + ('--nodebug', None, set_nodebug, False), + ('--client', None, set_true('client'), False), + ('--subprocess-of', '', set_arg('subprocess_of', pid), False), + ('--subprocess-notify', '', set_arg('subprocess_notify', port), False), # Targets. The '' entry corresponds to positional command line arguments, # i.e. the ones not preceded by any switch name. - ('', '', set_target('file'), False), - ('-m', '', set_target('module', string), False), - ('-c', '', set_target('code', string), False), - ('--pid', '', set_target('pid', pid), False), + ('', '', set_target('file'), False), + ('-m', '', set_target('module', string), False), + ('-c', '', set_target('code', string), False), + ('--pid', '', set_target('pid', pid), False), + + # fmt: on ]