Skip to content

Commit

Permalink
Fixed up 1.9 compatability issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cjwoodwardtest authored and crafterm committed Dec 11, 2010
1 parent cdd9dff commit 7fa0bff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/sprinkle
Expand Up @@ -43,15 +43,15 @@ Options are:
BANNER BANNER
opts.separator "" opts.separator ""
opts.on("-s", "--script=PATH", String, opts.on("-s", "--script=PATH", String,
"Path to a sprinkle script to run") { |OPTIONS[:path]| } "Path to a sprinkle script to run") { |v| OPTIONS[:path] = v }
opts.on("-t", "--test", opts.on("-t", "--test",
"Process but don't perform any actions") { |OPTIONS[:testing]| } "Process but don't perform any actions") { |v| OPTIONS[:testing] = v }
opts.on("-v", "--verbose", opts.on("-v", "--verbose",
"Verbose output") { |OPTIONS[:verbose]| } "Verbose output") { |v| OPTIONS[:verbose] = v }
opts.on("-c", "--cloud", opts.on("-c", "--cloud",
"Show powder cloud, ie. package hierarchy and installation order") { |OPTIONS[:cloud]| } "Show powder cloud, ie. package hierarchy and installation order") { |v| OPTIONS[:cloud] = v }
opts.on("-f", "--force", opts.on("-f", "--force",
"Force installation of all packages even if it is detected that it has been previously installed") { |OPTIONS[:force]| } "Force installation of all packages even if it is detected that it has been previously installed") { |v| OPTIONS[:force] = v }
opts.on("-h", "--help", opts.on("-h", "--help",
"Show this help message.") { puts opts; exit } "Show this help message.") { puts opts; exit }
opts.parse!(ARGV) opts.parse!(ARGV)
Expand Down

0 comments on commit 7fa0bff

Please sign in to comment.