diff options
Diffstat (limited to 'pd/src/s_main.c')
-rw-r--r-- | pd/src/s_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pd/src/s_main.c b/pd/src/s_main.c index 8e9cb08d..a246e38a 100644 --- a/pd/src/s_main.c +++ b/pd/src/s_main.c @@ -81,6 +81,7 @@ int sys_extraflags; char sys_extraflagsstring[MAXPDSTRING]; int sys_run_scheduler(const char *externalschedlibname, const char *sys_extraflagsstring); +int sys_noautopatch; /* temporary hack to defeat new 0.42 editing */ /* here the "-1" counts signify that the corresponding vector hasn't been specified in command line arguments; sys_set_audio_settings will detect it @@ -398,6 +399,7 @@ static char *(usagemessage[]) = { "-schedlib <file> -- plug in external scheduler\n", "-extraflags <s> -- string argument to send schedlib\n", "-batch -- run off-line as a batch process\n", +"-noautopatch -- defeat auto-patching new from selected objects\n", }; static void sys_parsedevlist(int *np, int *vecp, int max, char *str) @@ -832,6 +834,11 @@ int sys_argparse(int argc, char **argv) sys_printtostderr = sys_nogui = 1; argc--; argv++; } + else if (!strcmp(*argv, "-noautopatch")) + { + sys_noautopatch = 1; + argc--; argv++; + } #ifdef UNISTD else if (!strcmp(*argv, "-rt") || !strcmp(*argv, "-realtime")) { |