summaryrefslogtreecommitdiff
path: root/source/core/slang-command-line.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-command-line.h')
-rw-r--r--source/core/slang-command-line.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/core/slang-command-line.h b/source/core/slang-command-line.h
index f2007865f..163daf710 100644
--- a/source/core/slang-command-line.h
+++ b/source/core/slang-command-line.h
@@ -62,6 +62,8 @@ struct CommandLine
void addArg(const String& in) { m_args.add(in); }
void addArgs(const String* args, Int argsCount) { for (Int i = 0; i < argsCount; ++i) addArg(args[i]); }
+ void addArgIfNotFound(const String& in);
+
/// Find the index of an arg which is exact match for slice
SLANG_INLINE Index findArgIndex(const UnownedStringSlice& slice) const { return m_args.indexOf(slice); }