Skip to content

Commit

Permalink
add setserial to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lyimmi committed Sep 1, 2023
1 parent f14219f commit 0d45ee2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ usage: usbrelay <command> [<args>]
Available commands:
Command Params Description
list List all available devices (add -s flag to print a simplified output)
on <serial> <relay> Set a relay's state to ON
off <serial> <relay> Set a relay's state to OFF
toggle <serial> <relay> Toggle a relay's state
setudev Set a udev rule to enable running without sudo (linux only - requires root)
Command Params Description
list List all available devices (add -s flag to print a simplified output)
on <serial> <relay> Set a relay's state to ON
off <serial> <relay> Set a relay's state to OFF
toggle <serial> <relay> Toggle a relay's state
setserial <serial> <new serial> Change a device's serial number (max 5 ASCII characters)
setudev Set a udev rule to enable running without sudo (linux only - requires root)
```

### As a package:
Expand Down

0 comments on commit 0d45ee2

Please sign in to comment.