summaryrefslogtreecommitdiff
path: root/completions/cpio
diff options
context:
space:
mode:
Diffstat (limited to 'completions/cpio')
-rw-r--r--completions/cpio12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/cpio b/completions/cpio
index d63d15a9..36e3fe90 100644
--- a/completions/cpio
+++ b/completions/cpio
@@ -10,24 +10,24 @@ _cpio()
-H|--format)
COMPREPLY=( $( compgen -W \
'bin odc newc crc tar ustar hpbin hpodc' -- "$cur" ) )
- return 0
+ return
;;
-E|-F|-I|--file|--pattern-file)
_filedir
- return 0
+ return
;;
-R|--owner)
_usergroup
- return 0
+ return
;;
--rsh-command)
compopt -o filenames
COMPREPLY=( $( compgen -c -- "$cur" ) )
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
if [[ $cword -eq 1 ]]; then
COMPREPLY=( $( compgen -W '-o --create -i --extract -p --pass-through
@@ -75,4 +75,4 @@ _cpio()
} &&
complete -F _cpio cpio
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh