lib/commands/look.rb in lookfile-0.1.3 vs lib/commands/look.rb in lookfile-0.1.4
- old
+ new
@@ -8,10 +8,18 @@
require 'commands/restore'
# Command 'lookfile' implementation
class Look < Command
def self.options_messages
- ''
+ 'asdsad'
+ end
+
+ def self.usage_bottom
+ user_name = File.expand_path('~').scan(%r{/home/(.+)+}).flatten.first
+ %( Attention: \t To push files every five minutes copy add the following
+ \t\t line on /etc/crontab:
+ \t\t */5 * * * * #{user_name} lookfile push
+ )
end
def self.command_name
'lookfile'
end