pulseaudio/src/utils
Peter Meerwald 997e369691 pactl: Stop parsing option when the first non-option is encountered
fix bug
https://bugs.freedesktop.org/show_bug.cgi?id=77108

see getopt(3):
""By default, getopt() permutes the contents of argv as it scans, so that
  eventually all the nonoptions are at the end.  Two other modes are also
  implemented.   If  the first character of optstring is '+' or the envi‐
  ronment variable POSIXLY_CORRECT is set, then option  processing  stops
  as soon as a nonoption argument is encountered.  If the first character
  of optstring is '-', then each nonoption argv-element is handled as  if
  it were the argument of an option with character code 1.  (This is used
  by programs that were written to expect options and other argv-elements
  in any order and that care about the ordering of the two.)  The special
  argument "--" forces an end of option-scanning regardless of the  scan‐
  ning mode.""

prepend optstring with '+' to use POSIXLY_CORRECT mode

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2014-04-15 23:53:13 +02:00
..
Makefile build-sys: readd stub makefiles to subdirectories to make building with emacs easier 2012-05-15 14:17:58 +02:00
pacat.c pacat: Fix partially translated message 2014-03-24 09:22:20 +02:00
pacmd.c pacmd: Discriminate between interactive and non-interactive mode 2013-08-02 16:25:27 +02:00
pactl.c pactl: Stop parsing option when the first non-option is encountered 2014-04-15 23:53:13 +02:00
padsp.c Remove pa_bool_t and replace it with bool. 2013-07-04 12:25:30 +03:00
padsp.in padsp: Move the padsp helper lib into a private library 2012-02-20 14:39:52 +05:30
pasuspender.c Whitespace cleanup: Remove all multiple newlines 2013-06-24 16:56:24 +03:00
pax11publish.c client-conf: Remove redundant function parameters 2014-03-28 14:58:14 +02:00
qpaeq qpaeq: Try to load equalizer module before failing, better error messages 2012-12-19 12:31:49 +02:00