man: update man pages

Add man page for pipewire-cli
This commit is contained in:
Wim Taymans 2017-09-19 10:19:53 +02:00
parent 6af4f08c6e
commit 807af5b983
5 changed files with 220 additions and 33 deletions

View file

@ -431,6 +431,7 @@ int main(int argc, char *argv[])
{
struct data data = { 0 };
struct pw_loop *l;
struct pw_properties *props = NULL;
pw_init(&argc, &argv);
@ -446,7 +447,10 @@ int main(int argc, char *argv[])
if (data.core == NULL)
return -1;
data.remote = pw_remote_new(data.core, NULL, 0);
if (argc > 1)
props = pw_properties_new(PW_REMOTE_PROP_REMOTE_NAME, argv[1], NULL);
data.remote = pw_remote_new(data.core, props, 0);
if (data.remote == NULL)
return -1;