From 08634459691be3372cc08f9765766840a55595b5 Mon Sep 17 00:00:00 2001 From: FineFindus Date: Mon, 5 Feb 2024 18:08:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9Dbook:=20update=20zbus-xmlgen=20comm?= =?UTF-8?q?ands?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the zbus-xmlgen commands in the book to the new cli --- book/src/client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/client.md b/book/src/client.md index 42b696fd5..41b1cf3c8 100644 --- a/book/src/client.md +++ b/book/src/client.md @@ -436,7 +436,7 @@ code. The tool can be used to generate rust code directly from a D-Bus service running on our system: ```bash -zbus-xmlgen --session \ +zbus-xmlgen session \ org.freedesktop.Notifications \ /org/freedesktop/Notifications ``` @@ -519,7 +519,7 @@ You should get a similar output: Save the output to a `notify.xml` file. Then call: ```bash -zbus-xmlgen notify.xml +zbus-xmlgen file notify.xml ``` This will give back effortlessly the corresponding Rust traits boilerplate