summaryrefslogtreecommitdiff
path: root/bin/byteback-prune
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-06-03 16:19:19 +0100
committerSteve Kemp <steve@steve.org.uk>2015-06-03 16:19:19 +0100
commitabcf1a457d6946f1fa8d12779c3cfce804c82638 (patch)
tree97124a57d892da2ef00cf037cc139a67a6dbe764 /bin/byteback-prune
parentb55ea6943f7cd5132c48409bbd2fdcba49e6e5d2 (diff)
Resync
Diffstat (limited to 'bin/byteback-prune')
-rwxr-xr-xbin/byteback-prune12
1 files changed, 6 insertions, 6 deletions
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