blob: 09c9b296738cfd731ab6cb0f7c6e0df2efbe34e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
_sterm_baudrate() {
_values "Baudrate" "9600" "19200" "115200"
}
_sterm() {
_arguments \
"-s[Set baudrate]:baudrate:_sterm_baudrate" \
"-b[Send break]" \
"-c[Enter command mode]" \
"-d[Make pulse on DTR]" \
"-r[Make pulse on RTS]" \
"-e[Ignore '~.' escape sequence]" \
"-n[Do not switch the device to raw mode]" \
"-v[Verbose mode]"
}
compdef _sterm sterm
|