add back the location task which seems to have disappeared

This commit is contained in:
Charles Lowell 2011-01-06 10:27:13 -06:00
parent 0333c695a8
commit 488f1246fa
1 changed files with 8 additions and 0 deletions

View File

@ -71,6 +71,12 @@ HERE
<<-HERE
Usage: hudson.war cp PATH
copy the hudson.war file to PATH
HERE
end
def location
<<-HERE
Usage: hudson.war location
prints the actual location on the file system of the hudson.war
HERE
end
def server
@ -97,6 +103,8 @@ when 'server'
war.server(options)
when "help", "-h", "--help"
help[ARGV.first]
when "location"
puts war::LOCATION
else
help[nil]
end