From 8d5e5f9db06cafcb22f9a66005f87d6ffaf31df2 Mon Sep 17 00:00:00 2001
From: Andreas Olsson <andreas@arrakis.se>
Date: Sun, 23 Aug 2015 16:29:37 +0200
Subject: [PATCH] Add completions for new Tarsnap 1.0.36 options

Taken from:
  https://github.com/Tarsnap/tarsnap/commit/af77972a9240071249ce5f5b41585e17feb106e8
  https://github.com/Tarsnap/tarsnap/commit/a66a56135a4f2813a8056212ab4c6c81d7ebb31a
---
 tarsnap_completion | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tarsnap_completion b/tarsnap_completion
index b49c047..9bb9649 100644
--- a/tarsnap_completion
+++ b/tarsnap_completion
@@ -24,7 +24,7 @@ _tarsnap ()
 	# They won't be completed at all.
 	wotherarg="--checkpoint-bytes|--exclude|-f|--include|--maxbw|--maxbw-rate|
 		   |--maxbw-rate-down|--maxbw-rate-up|--newer|--newer-mtime|-s|
-		   |--strip-components|--disk-pause"
+		   |--strip-components|--disk-pause|--creationtime"
 
 	# Availible long options
 	longopts="--list-archives --print-stats --fsck --nuke --aggressive-networking \
@@ -38,7 +38,8 @@ _tarsnap ()
 		  --no-config-exclude --no-config-include --no-disk-pause --no-humanize-numbers \
 		  --no-maxbw --no-maxbw-rate-down --no-maxbw-rate-up --no-nodump --no-print-stats \
 		  --no-snaptime --no-store-atime --no-totals --store-atime --totals --recover \
-		  --insane-filesystems --quiet --no-quiet --configfile --no-default-config --fsck-prune"
+		  --insane-filesystems --quiet --no-quiet --configfile --no-default-config --fsck-prune \
+		  --retry-forever --no-retry-forever --creationtime"
 
 	# Availible short options
 	shortopts="-c -d -t -x -r -C -f -H -h -I -k -L -l -m -n -O -o -P -p -q -S -s -T -U -v -w -X -q"
-- 
GitLab