diff --git a/README.md b/README.md index 2846449..17e989a 100644 --- a/README.md +++ b/README.md @@ -412,8 +412,8 @@ script-run = once color = 13 [usb devices] -pattern = usb([0-9]*) -device = /dev/ttyUSB%s +pattern = ^usb([0-9]*) +device = /dev/ttyUSB%m1 color = 14 ``` diff --git a/examples/config/config b/examples/config/config index df32b8d..1d18e89 100644 --- a/examples/config/config +++ b/examples/config/config @@ -56,8 +56,8 @@ log-strip = true color = 11 [usb] -pattern = usb([0-9]*) -device = /dev/ttyUSB%s +pattern = ^usb([0-9]*) +device = /dev/ttyUSB%m1 color = 12 [rs-485-device] diff --git a/man/tio.1.in b/man/tio.1.in index 93840c0..108bd3b 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -622,7 +622,7 @@ regular expressions: .nf .eo [usb device] -pattern = usb([0-9]*) +pattern = ^usb([0-9]*) device = /dev/ttyUSB%m1 baudrate = 115200 .ec