X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fwhere-vessels;h=272a11432b37f6c6d7169f773b89a621790e7326;hb=3ece24832da57c70c4ca1c745d6dd79227447322;hp=9b8c7728a41ade97694f961749ba0d4b20ff3f64;hpb=d08aa8fd6412ed025a8d2afcbdc36c098b019da4;p=ypp-sc-tools.web-live.git diff --git a/yarrg/where-vessels b/yarrg/where-vessels index 9b8c772..272a114 100755 --- a/yarrg/where-vessels +++ b/yarrg/where-vessels @@ -133,6 +133,9 @@ proc argdefaults {} { if {[info exists ocean]} { lappend cmd --ocean $ocean } if {[info exists pirate]} { lappend cmd --pirate $pirate } manyset [split [eval exec $cmd] " "] ocean pirate + if {![llength $ocean] || ![llength $pirate]} { + error "$ocean $pirate ?" + } } lappend scraper $ocean }