diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-04-04 20:35:24 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-04-04 20:35:24 +0000 |
| commit | b7ad58a0dfe2a3db177472dacadc474a608e9bc0 (patch) | |
| tree | 70e9c446c7e28b8b945c37d2665b027f9e8e67ea /lldb/tools/darwin-debug/darwin-debug.cpp | |
| parent | 563d9dc1b2ad4b7622575f7fbfdb99c84400d442 (diff) | |
| download | bcm5719-llvm-b7ad58a0dfe2a3db177472dacadc474a608e9bc0.tar.gz bcm5719-llvm-b7ad58a0dfe2a3db177472dacadc474a608e9bc0.zip | |
<rdar://problem/13457391>
LLDB now can use a single dash for all long options for all commands form the command line and from the command interpreter. This involved just switching all calls from getopt_long() to getopt_long_only().
llvm-svn: 178789
Diffstat (limited to 'lldb/tools/darwin-debug/darwin-debug.cpp')
| -rw-r--r-- | lldb/tools/darwin-debug/darwin-debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/darwin-debug/darwin-debug.cpp b/lldb/tools/darwin-debug/darwin-debug.cpp index 1fe2e5948ff..dfcb17c8e0d 100644 --- a/lldb/tools/darwin-debug/darwin-debug.cpp +++ b/lldb/tools/darwin-debug/darwin-debug.cpp @@ -184,7 +184,7 @@ int main (int argc, char *const *argv, char *const *envp, const char **apple) int pass_env = 1; std::string unix_socket_name; std::string working_dir; - while ((ch = getopt_long(argc, argv, "a:dehsu:?", g_long_options, NULL)) != -1) + while ((ch = getopt_long_only(argc, argv, "a:dehsu:?", g_long_options, NULL)) != -1) { switch (ch) { |

