diff --git a/dtool/src/interrogate/interrogate.cxx b/dtool/src/interrogate/interrogate.cxx index 232f293a9b..515b149437 100644 --- a/dtool/src/interrogate/interrogate.cxx +++ b/dtool/src/interrogate/interrogate.cxx @@ -79,6 +79,7 @@ enum CommandOptions { CO_promiscuous, CO_spam, CO_noangles, + CO_nomangle, CO_help, }; @@ -106,6 +107,7 @@ static struct option long_options[] = { { "promiscuous", no_argument, NULL, CO_promiscuous }, { "spam", no_argument, NULL, CO_spam }, { "noangles", no_argument, NULL, CO_noangles }, + { "nomangle", no_argument, NULL, CO_nomangle }, { "help", no_argument, NULL, CO_help }, { NULL } }; @@ -284,7 +286,10 @@ void show_help() { << " -noangles\n" << " Treat #include the same as #include \"file\". This means -I\n" - << " and -S are equivalent.\n\n"; + << " and -S are equivalent.\n\n" + + << " -nomangle\n" + << " Do not generate camelCase equivalents of functions.\n\n"; } // handle commandline -D options @@ -446,6 +451,10 @@ main(int argc, char **argv) { parser._noangles = true; break; + case CO_nomangle: + mangle_names = false; + break; + case 'h': case CO_help: show_help();