diff options
author | Enrico Granata <egranata@apple.com> | 2015-02-20 22:20:30 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-02-20 22:20:30 +0000 |
commit | b38ef8c2b60d9bd4ea4ab2d603f401ee080a0163 (patch) | |
tree | b021230083eb08d649c44d62458691ba574d91e0 /lldb/source/Target/Process.cpp | |
parent | b65c6299d4dbada38e4f94f30bc54905a11f2305 (diff) | |
download | bcm5719-llvm-b38ef8c2b60d9bd4ea4ab2d603f401ee080a0163.tar.gz bcm5719-llvm-b38ef8c2b60d9bd4ea4ab2d603f401ee080a0163.zip |
Rename the "glob arguments" feature to "shell expand arguments"
This should not bring any feature change, except changing names of things here and there
llvm-svn: 230077
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index a85613d9e08..30f310aeefd 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -491,14 +491,14 @@ ProcessLaunchCommandOptions::SetOptionValue (uint32_t option_idx, const char *op break; } - case 'G': // Glob args. + case 'X': // shell expand args. { bool success; - const bool glob_args = Args::StringToBoolean (option_arg, true, &success); + const bool expand_args = Args::StringToBoolean (option_arg, true, &success); if (success) - launch_info.SetGlobArguments(glob_args); + launch_info.SetShellExpandArguments(expand_args); else - error.SetErrorStringWithFormat ("Invalid boolean value for glob-args option: '%s'", option_arg ? option_arg : "<null>"); + error.SetErrorStringWithFormat ("Invalid boolean value for shell-expand-args option: '%s'", option_arg ? option_arg : "<null>"); break; } @@ -538,7 +538,7 @@ ProcessLaunchCommandOptions::g_option_table[] = { LLDB_OPT_SET_2 , false, "tty", 't', OptionParser::eNoArgument, NULL, NULL, 0, eArgTypeNone, "Start the process in a terminal (not supported on all platforms)."}, { LLDB_OPT_SET_3 , false, "no-stdio", 'n', OptionParser::eNoArgument, NULL, NULL, 0, eArgTypeNone, "Do not set up for terminal I/O to go to running process."}, -{ LLDB_OPT_SET_4, false, "glob-args", 'G', OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeBoolean, "Set whether to glob arguments to the process when launching."}, +{ LLDB_OPT_SET_4, false, "shell-expand-args", 'X', OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeBoolean, "Set whether to shell expand arguments to the process when launching."}, { 0 , false, NULL, 0, 0, NULL, NULL, 0, eArgTypeNone, NULL } }; |