midi scroomer updates streamview during drags.
[ardour.git] / session_utils / export.cc
index d0c17c18f7627e6d4b46ba4e6ff89fe520bf0db0..6ea7e2b5fdb3f0b92dc6b27d257c3897126abad9 100644 (file)
@@ -124,7 +124,7 @@ static int export_session (Session *session,
                double progress = 0.0;
                switch (status->active_job) {
                case ExportStatus::Normalizing:
-                       progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles;
+                       progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles;
                        printf ("* Normalizing %.1f%%      \r", 100. * progress); fflush (stdout);
                        break;
                case ExportStatus::Exporting:
@@ -147,8 +147,8 @@ static int export_session (Session *session,
 
 static void usage (int status) {
        // help2man compatible format (standard GNU help-text)
-       printf ("export - export an ardour session from the commandline.\n\n");
-       printf ("Usage: export [ OPTIONS ] <session-dir> <session-name>\n\n");
+       printf (UTILNAME " - export an ardour session from the commandline.\n\n");
+       printf ("Usage: " UTILNAME " [ OPTIONS ] <session-dir> <session/snapshot-name>\n\n");
        printf ("Options:\n\
   -h, --help                 display this help and exit\n\
   -n, --normalize            normalize signal level (to 0dBFS)\n\