modules: clean up USAGE arguments

use () to mark optional arguments to avoid confusion with arrays.
Add some more optional arguments.
This commit is contained in:
Wim Taymans 2023-03-22 16:35:55 +01:00
parent 3decaa6457
commit 07e6f44e58
24 changed files with 200 additions and 200 deletions

View file

@ -230,10 +230,10 @@ static const struct pw_impl_module_events module_events = {
static const struct spa_dict_item module_x11_bell_info[] = {
{ PW_KEY_MODULE_AUTHOR, "Wim Taymans <wim.taymans@gmail.com>" },
{ PW_KEY_MODULE_DESCRIPTION, "X11 Bell interceptor" },
{ PW_KEY_MODULE_USAGE, "sink.name=<name for the sink> "
"sample.name=<the sample name> "
"x11.display=<the X11 display> "
"x11.xauthority=<the X11 XAuthority> " },
{ PW_KEY_MODULE_USAGE, "( sink.name=<name for the sink> ) "
"( sample.name=<the sample name> ) "
"( x11.display=<the X11 display> ) "
".x11.xauthority=<the X11 XAuthority> )" },
{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
};
SPA_EXPORT