mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -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
caf72fd9bc
commit
28ed09b155
1 changed files with 1 additions and 1 deletions
|
|
@ -1600,7 +1600,7 @@ int main(int argc, char *argv[])
|
||||||
data.keysep_char = ":";
|
data.keysep_char = ":";
|
||||||
data.indent = INDENT;
|
data.indent = INDENT;
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, "hVr:mNCRi:s", long_options, NULL)) != -1) {
|
while ((c = getopt_long(argc, argv, "hVr:mNC::Ri:s", 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