]> code.delx.au - pulseaudio/blobdiff - src/utils/pactl.c
pactl: Stop parsing option when the first non-option is encountered
[pulseaudio] / src / utils / pactl.c
index 8483464f50125dc0233b829c76f07363cf7583b4..555cb48101969e4e4c741c9599f32ca1652d5c20 100644 (file)
@@ -1596,7 +1596,7 @@ int main(int argc, char *argv[]) {
 
     proplist = pa_proplist_new();
 
-    while ((c = getopt_long(argc, argv, "s:n:h", long_options, NULL)) != -1) {
+    while ((c = getopt_long(argc, argv, "+s:n:h", long_options, NULL)) != -1) {
         switch (c) {
             case 'h' :
                 help(bn);