Skip to content

Commit

Permalink
Update the usage text to make more sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manfred committed Aug 21, 2008
1 parent 2fd7061 commit d7a130d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/hail.rb
Expand Up @@ -34,12 +34,9 @@ def self.run_command(options={})
def self.run(args)
options = {}
opts = OptionParser.new do |opts|
opts.banner = 'Usage: hail [options] <init|update> [repository1] [respository2]'

opts.on( "-n", "--name [NAME]", String,
"Set the name for the workbench" ) do |n|
options[:name] = n
end
opts.banner = "Usage: hail [options] init <repository1> <respository2> [workbench-directory]\n" +
" hail [options] update"
opts.separator ""

opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
Expand Down

0 comments on commit d7a130d

Please sign in to comment.