summaryrefslogtreecommitdiff
path: root/cli/options.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-04 14:18:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-04 14:18:38 +0200
commit6f6c10491ce0e973fe8328508fe2a232c2189016 (patch)
tree8163d6bf03edfb050fa14a408e38030246c0a99c /cli/options.cxx
parent6a9a911f05bbd0d2a63a06512733a4a6ff5b3e65 (diff)
Move runtime inline function to inline file
Diffstat (limited to 'cli/options.cxx')
-rw-r--r--cli/options.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/options.cxx b/cli/options.cxx
index d92af58..d5e7e67 100644
--- a/cli/options.cxx
+++ b/cli/options.cxx
@@ -393,7 +393,7 @@ _parse (int start,
{
start += (*(i->second)) (*this, argv + start, argc - start);
}
- else if (opt && s[0] == '-' && s[1] != '\0')
+ else if (opt && std::strncmp (s, "-", 1) == 0 && s[1] != '\0')
{
switch (opt_mode)
{