]> git.sur5r.net Git - tio/blobdiff - src/bash-completion/tio.in
Update upstream source from tag 'upstream/2.0'
[tio] / src / bash-completion / tio.in
index 3d87cb690f28d91604e62fcecf34250b3f9b3ca6..ca115e600cbbcba25c7f562f1e0c41bc0105c311 100644 (file)
@@ -30,6 +30,11 @@ _tio()
           -c --color \
           -S --socket \
           -x --hexadecimal \
+          -r --response-wait \
+             --response-timeout \
+             --rs-485 \
+             --rs-485-config \
+             --alert \
           -v --version \
           -h --help"
 
@@ -116,6 +121,26 @@ _tio()
             COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
             return 0
             ;;
+        -r | --response-wait)
+            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+            return 0
+            ;;
+        --response-timeout)
+            COMPREPLY=( $(compgen -W "1 10 100" -- ${cur}) )
+            return 0
+            ;;
+        --rs-485)
+            COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+            return 0
+            ;;
+        --rs-485-config)
+            COMPREPLY=( $(compgen -W "RTS_ON_SEND RTS_AFTER_SEND RTS_DELAY_BEFORE_SEND RTS_DELAY_AFTER_SEND RX_DURING_TX"  -- ${cur}) )
+            return 0
+            ;;
+        --alert)
+            COMPREPLY=( $(compgen -W "none bell blink"  -- ${cur}) )
+            return 0
+            ;;
         -v | --version)
             COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
             return 0