[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-88-g89098f7
Guillaume Rousse
guillomovitch at gmail.com
Mon Jan 7 11:41:59 UTC 2013
The following commit has been merged in the master branch:
commit 89098f79fd33216a46f7135a994f4c0a8057671f
Author: Guillaume Rousse <guillomovitch at gmail.com>
Date: Mon Jan 7 12:41:52 2013 +0100
add -p option completion
diff --git a/completions/dsniff b/completions/dsniff
index 5e4208d..81c2a00 100644
--- a/completions/dsniff
+++ b/completions/dsniff
@@ -6,7 +6,7 @@ _dsniff()
_init_completion || return
case $prev in
- -r|-w|-f)
+ -r|-w|-f|-p)
_filedir
return 0
;;
@@ -17,7 +17,7 @@ _dsniff()
esac
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_usage "$1" ) -r -w' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '$( _parse_usage "$1" ) -r -w -p' -- "$cur" ) )
fi
} &&
--
bash-completion
More information about the Bash-completion-commits
mailing list