summaryrefslogtreecommitdiff
path: root/completions/2to3
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2019-08-07 09:17:13 -0300
commit5732da2af736c40cf693354485446ab4867ecb4d (patch)
tree76d76cdfa16ca62d20fb109da13895ec64fff110 /completions/2to3
parent9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (diff)
downloadbash-completion-5732da2af736c40cf693354485446ab4867ecb4d.tar.gz
New upstream version 2.9upstream/2.9
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