Skip to content

Commit cdfa273

Browse files
committed
not parse NSDocumentRevisionsDebugMode
1 parent 7378b3d commit cdfa273

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/runner/proj.mac/main.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ int main(int argc, char *argv[])
101101
CommandSetup *cmd = CommandSetup::getInstance();
102102
cmd->setRelauncher(relaunchSelf);
103103
cmd->setEngineRootPath(getEngineRoot());
104+
if (argc > 2 && strcmp(argv[1], "-NSDocumentRevisionsDebugMode") == 0) {
105+
argc = 1; // not parse -NSDocumentRevisionsDebugMode YES
106+
}
104107
cmd->parseCommand(argc, argv);
105108
cmd->setupEngine();
106109

0 commit comments

Comments
 (0)