From 8077b596fa4ffc633a62af7b7afc2dd42b8698e0 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 18 Feb 2016 03:03:25 +0100 Subject: Fix argument parsing for dabmode and dabpsy --- src/dabplus-enc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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'}, -- cgit v1.2.3