[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-106-g06002d0

Ville Skyttä ville.skytta at iki.fi
Fri Feb 1 21:20:57 UTC 2013


The following commit has been merged in the master branch:
commit 7543e0baf812e24066b863b5d13fdb1efffc3428
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Feb 1 23:10:55 2013 +0200

    dnsspoof,filesnarf,macof,sshow,tcpkill,tcpnice,urlsnarf: Fix -i completion.

diff --git a/completions/dnsspoof b/completions/dnsspoof
index 39bc47e..2518af6 100644
--- a/completions/dnsspoof
+++ b/completions/dnsspoof
@@ -7,7 +7,7 @@ _dnsspoof()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
         -f)
diff --git a/completions/filesnarf b/completions/filesnarf
index 07c4c74..dbadd43 100644
--- a/completions/filesnarf
+++ b/completions/filesnarf
@@ -7,7 +7,7 @@ _snarf()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
     esac
diff --git a/completions/macof b/completions/macof
index b81b630..264f1c9 100644
--- a/completions/macof
+++ b/completions/macof
@@ -7,7 +7,7 @@ _macof()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
     esac
diff --git a/completions/sshow b/completions/sshow
index a28d244..2e9bd46 100644
--- a/completions/sshow
+++ b/completions/sshow
@@ -7,7 +7,7 @@ _sshow()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
     esac
diff --git a/completions/tcpkill b/completions/tcpkill
index 8242023..4a75332 100644
--- a/completions/tcpkill
+++ b/completions/tcpkill
@@ -7,7 +7,7 @@ _tcpkill()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
     esac
diff --git a/completions/tcpnice b/completions/tcpnice
index 03c23e5..49b8925 100644
--- a/completions/tcpnice
+++ b/completions/tcpnice
@@ -7,7 +7,7 @@ _tcpnice()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
     esac
diff --git a/completions/urlsnarf b/completions/urlsnarf
index bb1a29e..e9ccd8f 100644
--- a/completions/urlsnarf
+++ b/completions/urlsnarf
@@ -7,7 +7,7 @@ _urlsnarf()
 
     case $prev in
         -i)
-            _interfaces
+            _available_interfaces -a
             return 0
             ;;
     esac

-- 
bash-completion



More information about the Bash-completion-commits mailing list