diff options
author | Oz Linden <oz@lindenlab.com> | 2012-05-25 14:22:33 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-05-25 14:22:33 -0400 |
commit | ee66cb3efccd6976c5a7725620956ea7030b7b57 (patch) | |
tree | 7ae469e4d2aac985589e7df902959b27c603b2ad /indra/newview/llcommandlineparser.cpp | |
parent | 5ef8372e433896be174d7123bd4663087601a0df (diff) | |
parent | 3e8dab32ee88e0a6fda51c218c61d718cf9dcafa (diff) |
merge back beta tags
Diffstat (limited to 'indra/newview/llcommandlineparser.cpp')
-rw-r--r-- | indra/newview/llcommandlineparser.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llcommandlineparser.cpp b/indra/newview/llcommandlineparser.cpp index 65c61c4a8b..17d403bbe1 100644 --- a/indra/newview/llcommandlineparser.cpp +++ b/indra/newview/llcommandlineparser.cpp @@ -342,6 +342,15 @@ bool LLCommandLineParser::parseCommandLine(int argc, char **argv) return parseAndStoreResults(clp); } +// TODO: +// - Break out this funky parsing logic into separate method +// - Unit-test it with tests like LLStringUtil::getTokens() (the command-line +// overload that supports quoted tokens) +// - Unless this logic offers significant semantic benefits, replace it with +// LLStringUtil::getTokens(). This would fix a known bug: you cannot --set a +// string-valued variable to the empty string, because empty strings are +// eliminated below. + bool LLCommandLineParser::parseCommandLineString(const std::string& str) { // Split the string content into tokens |