diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-02-18 03:03:25 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-02-18 03:03:25 +0100 |
commit | 8077b596fa4ffc633a62af7b7afc2dd42b8698e0 (patch) | |
tree | 145d5ab3503b2caf8f2b59f641e2deecebf6145c | |
parent | cd3c8cdebc13c132e0ae0117a1fc84775532ccb3 (diff) | |
download | ODR-AudioEnc-8077b596fa4ffc633a62af7b7afc2dd42b8698e0.tar.gz ODR-AudioEnc-8077b596fa4ffc633a62af7b7afc2dd42b8698e0.tar.bz2 ODR-AudioEnc-8077b596fa4ffc633a62af7b7afc2dd42b8698e0.zip |
Fix argument parsing for dabmode and dabpsy
-rw-r--r-- | src/dabplus-enc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp index 7bd0c5b..dc5c6af 100644 --- a/src/dabplus-enc.cpp +++ b/src/dabplus-enc.cpp @@ -318,6 +318,8 @@ int main(int argc, char *argv[]) const struct option longopts[] = { {"bitrate", required_argument, 0, 'b'}, {"channels", required_argument, 0, 'c'}, + {"dabmode", required_argument, 0, 4 }, + {"dabpsy", required_argument, 0, 5 }, {"device", required_argument, 0, 'd'}, {"format", required_argument, 0, 'f'}, {"input", required_argument, 0, 'i'}, @@ -334,8 +336,6 @@ int main(int argc, char *argv[]) {"write-icy-text", required_argument, 0, 'w'}, {"aaclc", no_argument, 0, 0 }, {"dab", no_argument, 0, 'a'}, - {"dabmode", no_argument, 0, 4 }, - {"dabpsy", no_argument, 0, 5 }, {"drift-comp", no_argument, 0, 'D'}, {"fifo-silence", no_argument, 0, 3 }, {"help", no_argument, 0, 'h'}, |