diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-04-21 15:47:56 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-04-21 15:47:56 +0200 |
commit | e38d9b4ef0e7576bc77d01a2e8c429e325906d11 (patch) | |
tree | d6a91723ea0384d00dd20e73bc1482db5db91905 | |
parent | c3a72f6afafcb876329dfd001ce3050021486b2f (diff) | |
download | ODR-AudioEnc-e38d9b4ef0e7576bc77d01a2e8c429e325906d11.tar.gz ODR-AudioEnc-e38d9b4ef0e7576bc77d01a2e8c429e325906d11.tar.bz2 ODR-AudioEnc-e38d9b4ef0e7576bc77d01a2e8c429e325906d11.zip |
add -s to getopt_long
-rw-r--r-- | src/dabplus-enc-alsa-zmq.cpp | 2 | ||||
-rw-r--r-- | src/dabplus-enc-file-zmq.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dabplus-enc-alsa-zmq.cpp b/src/dabplus-enc-alsa-zmq.cpp index f9ff3a4..355a31c 100644 --- a/src/dabplus-enc-alsa-zmq.cpp +++ b/src/dabplus-enc-alsa-zmq.cpp @@ -266,7 +266,7 @@ int main(int argc, char *argv[]) int index; while(ch != -1) { - ch = getopt_long(argc, argv, "hab:c:k:o:r:d:Dp:P:", longopts, &index); + ch = getopt_long(argc, argv, "hab:c:k:o:r:d:Dp:P:s", longopts, &index); switch (ch) { case 'd': alsa_device = optarg; diff --git a/src/dabplus-enc-file-zmq.c b/src/dabplus-enc-file-zmq.c index 76aa74a..802f12e 100644 --- a/src/dabplus-enc-file-zmq.c +++ b/src/dabplus-enc-file-zmq.c @@ -147,7 +147,7 @@ int main(int argc, char *argv[]) { int index; while(ch != -1) { - ch = getopt_long(argc, argv, "tlhab:c:i:k:o:r:f:p:P:", longopts, &index); + ch = getopt_long(argc, argv, "tlhab:c:i:k:o:r:f:p:P:s", longopts, &index); switch (ch) { case 'f': if(strcmp(optarg, "raw")==0) { |