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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dabplus-enc-alsa-zmq.cpp') 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; -- cgit v1.2.3