Skip to content

Commit 5736919

Browse files
authored
Update README.md
update cli interface usage
1 parent 1ece2a4 commit 5736919

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -268,19 +268,17 @@ If the device still can not be entered, make sure you have UDP port `4242` (or t
268268
<details>
269269
<summary>Command Line Interface</summary>
270270

271-
The cli interface can be enabled using `--frontend cli` as commandline arguments.
272-
Type `help` to list the available commands.
273-
274-
E.g.:
271+
The cli interface can be accessed by passing `cli` as a commandline argument.
272+
Use
273+
```sh
274+
lan-mouse cli help
275+
```
276+
to list the available commands and
275277
```sh
276-
$ cargo run --release -- --frontend cli
277-
(...)
278-
> connect <host> left|right|top|bottom
279-
(...)
280-
> list
281-
(...)
282-
> activate 0
278+
lan-mouse cli <cmd> help
283279
```
280+
for information on how to use a specific command.
281+
284282
</details>
285283

286284
<details>

0 commit comments

Comments
 (0)