X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=blobdiff_plain;f=ypp-restock-rum;h=3d9eb21e25da7f6899d21e792143c625681ef8f9;hp=ab56abd3f14fd1ca862d0619dedad5c28fb905a9;hb=a01842cb18ee775bb6a044a5b91b7f1d14ad147a;hpb=4a05b6755feadc8d2461db1ce9c6c7acdb8f9a52 diff --git a/ypp-restock-rum b/ypp-restock-rum index ab56abd..3d9eb21 100755 --- a/ypp-restock-rum +++ b/ypp-restock-rum @@ -84,7 +84,7 @@ sub parse_args () { parse_info(1,0,1, @{ $have[@have] }, 'have'); } elsif (m/^want$/) { parse_info(1,0,0, @want, 'want'); - } elsif (m/^price$/) { + } elsif (m/^prices?$|^costs?$/) { parse_info(0,1e7,0, @price, 'price'); } else { badusage("unknown information argument \`$_'");