CommandPattern << CommandAdd CommandPattern << CommandDelete
# File lib/archive/tar/minitar/command.rb, line 779 779: def self.run(argv, input = $stdin, output = $stdout, error = $stderr) 780: ioe = { 781: :input => input, 782: :output => output, 783: :error => error, 784: } 785: opts = { } 786: 787: if argv.include?("--version") 788: output << minitar #{Archive::Tar::Minitar::VERSION} Copyright 2004 Mauricio Julio Ferna'ndez Pradier and Austin Ziegler This is free software with ABSOLUTELY NO WARRANTY. see http://rubyforge.org/projects/ruwiki for more information 789: end 790: 791: if argv.include?("--verbose") or argv.include?("-V") 792: opts[:verbose] = true 793: argv.delete("--verbose") 794: argv.delete("-V") 795: end 796: 797: if argv.include?("--progress") or argv.include?("-P") 798: opts[:progress] = true 799: opts[:verbose] = false 800: argv.delete("--progress") 801: argv.delete("-P") 802: end 803: 804: command = CommandPattern[(argv.shift or "").downcase] 805: command ||= CommandPattern["help"] 806: return command[argv, opts, ioe] 807: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.