From d03f1f6ae4afb2518fba7b83e8bb4cfe4603a343 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sat, 12 Oct 2013 17:54:06 -0700 Subject: [PATCH] Cygdb.py: Add "--" to cygdb usage string before gdb args The "--" needs to be put before any gdb args so that optparse doesn't think that they're cygdb args. --- Cython/Debugger/Cygdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Debugger/Cygdb.py b/Cython/Debugger/Cygdb.py index 334bf41..6a5fc32 100644 --- a/Cython/Debugger/Cygdb.py +++ b/Cython/Debugger/Cygdb.py @@ -62,7 +62,7 @@ def make_command_file(path_to_debug_info, prefix_code='', no_import=False): return tempfilename -usage = "Usage: cygdb [options] [PATH [GDB_ARGUMENTS]]" +usage = "Usage: cygdb [options] [PATH [-- GDB_ARGUMENTS]]" def main(path_to_debug_info=None, gdb_argv=None, no_import=False): """ -- 2.7.4