From 5ecfb11e1b20bfe999a26f147b67f7355debfdcc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Oct 2004 18:32:42 +0000 Subject: [PATCH] Changed the argument parser to accept strings that start with a - as being valid strings. --- src/osg/ArgumentParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osg/ArgumentParser.cpp b/src/osg/ArgumentParser.cpp index a02748870..ec1a90f0e 100644 --- a/src/osg/ArgumentParser.cpp +++ b/src/osg/ArgumentParser.cpp @@ -15,7 +15,8 @@ bool ArgumentParser::isOption(const char* str) bool ArgumentParser::isString(const char* str) { if (!str) return false; - return !isOption(str); + return true; + //return !isOption(str); } bool ArgumentParser::isNumber(const char* str)