Fixed completion for zpaq

This commit is contained in:
239 2019-12-10 23:26:30 +01:00 committed by Johannes Altmanninger
parent a446085c40
commit f1e4dc7ca8

View file

@ -14,11 +14,11 @@ complete -c zpaq -f -n "not $seen $commands" -a add -d "Append files to archive
complete -c zpaq -f -n "not $seen $commands" -a x -d "extract"
complete -c zpaq -f -n "not $seen $commands" -a extract -d "Extract most recent versions of files"
complete -c zpaq -f -n "not $seen $commands" -a l -d "list"
complete -c zpaq -f -n "not $seen $commands" -a list -d "List or compare external files to archive by dates"
complete -c zpaq -f -n "not $seen $commands" -a list -d "List or compare external files to archive"
#options
complete -c zpaq -x -n "$seen $commands" -o all -a N -d "Extract/list versions in N [4] digit directories"
complete -c zpaq -f -n "$seen $commands" -o f -d "-force"
complete -c zpaq -x -n "$seen $commands" -o all -a N -d "Extract/list versions in N [4] digit directories"
complete -c zpaq -f -n "$seen $commands" -s f -d "-force"
complete -c zpaq -f -n "$seen $command1" -o force -d "Append files if contents have changed"
complete -c zpaq -f -n "$seen $command2" -o force -d "Compare file contents instead of dates"
complete -c zpaq -f -n "$seen $command3" -o force -d "Overwrite existing output files"