Top Level Namespace
Defined Under Namespace
Modules: Net
Instance Method Summary collapse
Instance Method Details
#print_usage ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'bin/dav', line 14 def print_usage puts "usage: #{$0} COMMAND [ARGS]" puts "" puts "Available commands:" puts " ls List file or directory at URL" puts " lsr List file or directory recursively at URL" puts " get Get file from URL to stdout or to FILE" puts " put Put file from FILE to URL" puts " mkdir Create directory at URL" puts " gsub Replace content at URL from REGEXP to VALUE" puts " props Display xml properties for file or directory at URL" exit end |