From e38d9b4ef0e7576bc77d01a2e8c429e325906d11 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 21 Apr 2014 15:47:56 +0200 Subject: add -s to getopt_long --- src/dabplus-enc-alsa-zmq.cpp | 2 +- src/dabplus-enc-file-zmq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3