Fix session-export --samplerate option
authorRobin Gareus <robin@gareus.org>
Sun, 6 Aug 2017 12:34:24 +0000 (14:34 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 6 Aug 2017 12:34:24 +0000 (14:34 +0200)
session_utils/export.cc

index 6ea7e2b5fdb3f0b92dc6b27d257c3897126abad9..ce523306de1e98420abdb68a73121c4aa8041663 100644 (file)
@@ -172,13 +172,13 @@ int main (int argc, char* argv[])
        std::string outfile;
        bool normalize = false;
 
-       const char *optstring = "hno:r:V";
+       const char *optstring = "hno:s:V";
 
        const struct option longopts[] = {
                { "help",       0, 0, 'h' },
                { "normalize",  0, 0, 'n' },
                { "output",     1, 0, 'o' },
-               { "samplerate", 1, 0, 'r' },
+               { "samplerate", 1, 0, 's' },
                { "version",    0, 0, 'V' },
        };