Better choice for ports on external send creation
[ardour.git] / session_utils / export.cc
index 6b27860ffdba151fdb2dc192c6e35a2e9a1693d6..289602ab0305d785d1b75ca8b99f169235e3057a 100644 (file)
@@ -120,7 +120,7 @@ static int export_session (Session *session,
 
        // TODO trap SIGINT -> status->abort();
 
-       while (status->running) {
+       while (status->running ()) {
                double progress = 0.0;
                switch (status->active_job) {
                case ExportStatus::Normalizing:
@@ -147,12 +147,12 @@ 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\
-  -o, --output  <file>       set expected [initial] framerate\n\
+  -o, --output  <file>       export output file name\n\
   -s, --samplerate <rate>    samplerate to use (default: 48000)\n\
   -V, --version              print version information and exit\n\
 \n");