--- john.bash_completion.orig 2012-05-24 07:10:01.579798196 +0000 +++ john.bash_completion 2012-05-24 07:12:12.537968514 +0000 @@ -457,7 +457,8 @@ _john() if echo "${valopts}" | grep "^--platform=$" > /dev/null ; then # Calling john --platform=LIST just to find possible completions # will take too long - COMPREPLY=( $(compgen -W "${cur}N ${cur}LIST" -- ${cur}) ) + cur=${cur#*=} + COMPREPLY=( $(compgen -W "LIST N" -- ${cur}) ) fi return 0 ;;