summaryrefslogtreecommitdiff
path: root/completions/cpio
diff options
context:
space:
mode:
Diffstat (limited to 'completions/cpio')
-rw-r--r--completions/cpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/cpio b/completions/cpio
index ebbe5c57..45824007 100644
--- a/completions/cpio
+++ b/completions/cpio
@@ -33,7 +33,7 @@ _cpio()
$split && return 0
- if [ $cword -eq 1 ]; then
+ if [[ $cword -eq 1 ]]; then
COMPREPLY=( $( compgen -W '-o --create -i --extract -p --pass-through \
-? --help --license --usage --version' -- "$cur" ) )
else