mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-06 07:15:35 -04:00
tools: Fix -C handling for pw-dump
The short form needs to have a :: to signal an optional argument so that something like -Calways can work.
This commit is contained in:
parent
1c032f6ad6
commit
487c7ee933
1 changed files with 1 additions and 1 deletions
|
|
@ -1541,7 +1541,7 @@ int main(int argc, char *argv[])
|
||||||
colors = true;
|
colors = true;
|
||||||
setlinebuf(data.out);
|
setlinebuf(data.out);
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, "hVr:mNC", long_options, NULL)) != -1) {
|
while ((c = getopt_long(argc, argv, "hVr:mNC::", long_options, NULL)) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'h' :
|
case 'h' :
|
||||||
show_help(&data, argv[0], false);
|
show_help(&data, argv[0], false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue