add back the location task which seems to have disappeared
This commit is contained in:
parent
0333c695a8
commit
488f1246fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue