lib/qdumpfs.rb in qdumpfs-1.8.2 vs lib/qdumpfs.rb in qdumpfs-1.9.0

- old
+ new

@@ -38,9 +38,11 @@ commands = ['backup', 'sync', 'list', 'expire', 'verify', 'delete'] opt.on('-c COMMAND', '--command=COMMAND', commands, commands.join('|')) {|v| opts[:c] = v} opt.on('-l HOURS', '--limit=HOURS', 'limit hours') {|v| opts[:limit] = v} opt.on('-k KEEPARG', '--keep=KEEPARG', 'ex: --keep 100Y12M12W30D (100years, 12months, 12weeks, 30days, default)') {|v| opts[:keep] = v} opt.on('--logdir=LOGDIR', 'logdir') {|v| opts[:logdir] = v} + opt.on('--logname=LOGNAME', 'logname') {|v| opts[:logname] = v} + opt.on('--logpath=LOGPATH', 'logpath') {|v| opts[:logpath] = v} opt.on('--delete-from=YYYYMMDD', 'delete backup from YYYY/MM/DD') {|v| opts[:delete_from] = Date.parse(v) } opt.on('--delete-to=YYYYMMDD', 'delete backup to YYYY/MM/DD') {|v| opts[:delete_to] = Date.parse(v)