summaryrefslogtreecommitdiff
path: root/completions/2to3
diff options
context:
space:
mode:
Diffstat (limited to 'completions/2to3')
-rw-r--r--completions/2to38
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/2to3 b/completions/2to3
index 4dd29bf4..049ba65b 100644
--- a/completions/2to3
+++ b/completions/2to3
@@ -10,12 +10,12 @@ _2to3()
return
;;
-f|--fix|-x|--nofix)
- COMPREPLY=( $( compgen -W \
- "$( $1 --list-fixes 2>/dev/null | command sed -e 1d )" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W \
+ "$($1 --list-fixes 2>/dev/null | command sed -e 1d)" -- "$cur") )
return
;;
-j|--processes)
- COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "{1..$(_ncpus)}" -- "$cur") )
return
;;
-o|--output-dir)
@@ -27,7 +27,7 @@ _2to3()
$split && return
if [[ $cur == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi