commit c10fc711c78f3496680171142e714e9fb6908054
parent 70d51631ed0932d386000441586e77afc297fefd
Author: fundamental <[email protected]>
Date: Sat, 12 Mar 2016 10:13:59 -0500
Auto-Save: Add Disable Via --auto-save=0
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp
@@ -382,7 +382,7 @@ int main(int argc, char *argv[])
" -U , --no-gui\t\t\t\t Run ZynAddSubFX without user interface\n"
<< " -N , --named\t\t\t\t Postfix IO Name when possible\n"
<< " -a , --auto-connect\t\t\t AutoConnect when using JACK\n"
- << " -A , --auto-save=INTERVAL\t\t Automatically save at interval (disabled for negative intervals)\n"
+ << " -A , --auto-save=INTERVAL\t\t Automatically save at interval (disabled with 0 interval)\n"
<< " -p , --pid-in-client-name\t\t Append PID to (JACK) "
"client name\n"
<< " -P , --preferred-port\t\t\t Preferred OSC Port\n"
@@ -489,7 +489,7 @@ int main(int argc, char *argv[])
"Default IO did not initialize.\nDefaulting to NULL backend.");
}
- if(auto_save_interval >= 0) {
+ if(auto_save_interval > 0) {
int old_save = middleware->checkAutoSave();
if(old_save > 0)
GUI::raiseUi(gui, "/alert-reload", "i", old_save);