diff --git a/share/completions/tar.fish b/share/completions/tar.fish index 3f43963b2..a420ad88c 100644 --- a/share/completions/tar.fish +++ b/share/completions/tar.fish @@ -20,17 +20,16 @@ end complete -c tar -a "(__fish_complete_tar)" -complete -c tar -s A -l catenate -d "Append archive to archive" -complete -c tar -l concatenate -d "Append archive to archive" +complete -c tar -s A -l catenate -l concatenate -d "Append archive to archive" complete -c tar -s c -l create -d "Create archive" -complete -c tar -s d -l diff -d "Compare archive and filesystem" -complete -c tar -l compare -d "Compare archive and filesystem" +complete -c tar -s d -l diff -l compare -d "Compare archive and filesystem" complete -c tar -l delete -d "Delete from archive" complete -c tar -s r -l append -d "Append files to archive" complete -c tar -s t -l list -d "List archive" complete -c tar -s u -l update -d "Append new files" -complete -c tar -s x -l extract -d "Extract from archive" -complete -c tar -l get -d "Extract from archive" +complete -c tar -s x -l extract -l get -d "Extract from archive" +complete -c tar -s \? -l help -d "Display short option summary" +complete -c tar -l usage -d "List available options" complete -c tar -l atime-preserve -d "Keep access time" complete -c tar -s b -l block-size -d "Block size" complete -c tar -s B -l read-full-blocks -d "Reblock while reading" @@ -46,6 +45,7 @@ complete -c tar -s i -l ignore-zeros -d "Ignore zero block in archive" complete -c tar -s j -l bzip2 -d "Filter through bzip2" complete -c tar -l ignore-failed-read -d "Don't exit on unreadable files" complete -c tar -s k -l keep-old-files -d "Don't overwrite" +complete -c tar -l one-top-level -d "Extract into directory" complete -c tar -s K -l starting-file -r -d "Starting file in archive" complete -c tar -s l -l one-file-system -d "Stay in local filesystem" complete -c tar -s L -l tape-length -r -d "Tape length"