mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
clean up options
make sure we can use -v for verbose mode
This commit is contained in:
parent
1fd5be7101
commit
b87c0a9270
8 changed files with 102 additions and 104 deletions
|
|
@ -63,14 +63,14 @@ struct data {
|
|||
|
||||
#define OPTIONS "hvr:f:q:"
|
||||
static const struct option long_options[] = {
|
||||
{"help", no_argument, NULL, 'h'},
|
||||
{"verbose", no_argument, NULL, 'v'},
|
||||
{ "help", no_argument, NULL, 'h'},
|
||||
{ "verbose", no_argument, NULL, 'v'},
|
||||
|
||||
{"rate", required_argument, NULL, 'r' },
|
||||
{"format", required_argument, NULL, 'f' },
|
||||
{"quality", required_argument, NULL, 'q' },
|
||||
{ "rate", required_argument, NULL, 'r' },
|
||||
{ "format", required_argument, NULL, 'f' },
|
||||
{ "quality", required_argument, NULL, 'q' },
|
||||
|
||||
{NULL, 0, NULL, 0 }
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
static void show_usage(const char *name, bool is_error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue