Skip to content

Commit

Permalink
Better wrapping of CLI documentaion in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
jadoc committed Nov 26, 2023
1 parent 3c1d274 commit 593b6d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,18 @@ For simple use cases, a command line interface is provided. Prebuilt binaries ar
Some commands take discrete identifiers as arguments (e.g. mode, level, key) which are [listed below](#Identifiers).

```
Usage: lgtv-ip-control [options] [command]
Options:
-o, --host <address> IP or DNS address of TV.
-m, --mac <address> MAC address of TV. Required for power on.
-k, --keycode <keycode> Encryption keycode provided by TV.
-p, --port <port> LG IP control server port. (default: 9761)
-w, --wol_address <address> Broadcast address used by WOL for power on. Must be set if TV is not on local subnet.
-t, --timeout <seconds> Time for television to respond to a command before an error is returned. (default: 5)
-w, --wol_address <address> Broadcast address used by WOL for power on. Must be set if
TV is not on local subnet.
-t, --timeout <seconds> Time for television to respond to a command before an error
is returned. (default: 5)
-h, --help display help for command
Commands:
Expand Down

0 comments on commit 593b6d0

Please sign in to comment.