diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-06-03 16:19:19 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-06-03 16:19:19 +0100 |
commit | abcf1a457d6946f1fa8d12779c3cfce804c82638 (patch) | |
tree | 97124a57d892da2ef00cf037cc139a67a6dbe764 | |
parent | b55ea6943f7cd5132c48409bbd2fdcba49e6e5d2 (diff) |
Resync
-rwxr-xr-x | bin/byteback-prune | 12 | ||||
-rwxr-xr-x | bin/byteback-receive | 4 |
2 files changed, 8 insertions, 8 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 diff --git a/bin/byteback-receive b/bin/byteback-receive index 4b949c2..5d0d35a 100755 --- a/bin/byteback-receive +++ b/bin/byteback-receive @@ -43,8 +43,8 @@ end opts = Trollop.options do opt :verbose, 'Print diagnostics' opt :ping, 'Check connection parameters and exit' - opt :list, 'Show backed up files matching the given pattern', type: :string - opt :restore, 'Perform a restoration operation', type: :string + opt :list, 'Show backed up files matching the given pattern', :type => :string + opt :restore, 'Perform a restoration operation', :type => :string opt :complete, 'Mark current backup as complete' end |