From abcf1a457d6946f1fa8d12779c3cfce804c82638 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 3 Jun 2015 16:19:19 +0100 Subject: Resync --- bin/byteback-prune | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/byteback-prune') diff --git a/bin/byteback-prune b/bin/byteback-prune index d005289..0cf87a7 100755 --- a/bin/byteback-prune +++ b/bin/byteback-prune @@ -17,12 +17,12 @@ opts = Trollop.options do banner "Prune old backup directories to ensure there's enough space" opt :minpercent, 'Start prune when disk has less than this %age free', - type: :integer, - default: 5 + :type => :integer, + :default => 5 opt :maxpercent, 'Stop prune when disk has more than this %age free', - type: :integer, - default: 10 + :type => :integer, + :default => 10 opt :list, 'List backups in pruning order, no other action' @@ -31,8 +31,8 @@ opts = Trollop.options do opt :prune_force, 'Prune the next backup regardless' opt :order, "Order backups by 'age' or 'importance'", - type: :string, - default: 'importance' + :type => :string, + :default => 'importance' opt :verbose, 'Show debugging messages' end -- cgit v1.2.3