"--help[Output help message]" \
"-h[Print help text]" \
"-s[Set 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]" \
+ "-n[Do not switch stdin to raw mode]" \
+ "-t[Delay \[ms\] between transmitted characters]" \
"-v[Verbose mode]"
_path_files
}
if (( CURRENT > 2)); then
local prev=${words[(( CURRENT - 1))]}
case "${prev}" in
- -d|-r)
+ -b|-d|-r|-t)
# No completion for these
;;
-s)
"38400" \
"57600" \
"115200" \
- "230400"
+ "230400" \
+ "460800" \
+ "500000" \
+ "576000" \
+ "921600" \
+ "1000000" \
+ "1152000" \
+ "1500000" \
+ "2000000" \
+ "2500000" \
+ "3000000" \
+ "3500000" \
+ "4000000"
;;
*)
_sterm_defs