From b38ef8c2b60d9bd4ea4ab2d603f401ee080a0163 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 20 Feb 2015 22:20:30 +0000 Subject: 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 --- lldb/source/Target/Process.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lldb/source/Target/Process.cpp') 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 : ""); + error.SetErrorStringWithFormat ("Invalid boolean value for shell-expand-args option: '%s'", option_arg ? option_arg : ""); 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 } }; -- cgit v1.2.3