From a01842cb18ee775bb6a044a5b91b7f1d14ad147a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 26 May 2009 02:05:37 +0100 Subject: [PATCH 1/1] ypp-restock-rum: Allow cost[s] and price[s] as cmdline keywords --- ypp-restock-rum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \`$_'"); -- 2.30.2